List Info

Thread: Creating multiple blogs in the same server




Creating multiple blogs in the same server
user name
2006-10-31 20:38:21
Actually, /WEB-INF/blogs/bootstrap does exist, but I didn't
include it because it was not a blog name.  I'll include
these details in the future.

I was able to get the blank page for MyBlog2 to turn into a
normal "Name Your Blog" page by copying
/WEB-INF/blogs/default/ to /WEB-INF/blogs/MyBog2/ and
/resources/default/ to /resources/MyBlog2/.

Now I am trying to log into:

http://a.b.c:8080/blojsom/blog/MyBlog2/?flavor=admin

This doesn't work.  It doesn't recognize the user I created
called BluePen.
I went into my MySQL database and did a:
 select * from Properties;

I saw that it created the MyBlog2 'blog-url' and
'blog-admin-url' with the name of an old blog that I
previously created and then delete.  So I changed that.  I
currently have only two blogs in the database.

Then I went into DBUser and saw that the only user in there
is default.  The user BluePen I created for MyBlog2 was not
inserted.  So I added the user.  When I did that, I got the
following status in the database "Query OK, 1 row
affected, 3 warnings (0.01 sec)".  I hope the three
warnings were because I didn't enter in info for
'user_email', 'user_registered' and 'user_status'.

I tried again:

http://a.b.c:8080/blojsom/blog/MyBlog2/?flavor=admin

It still did not allow me to log in with BluePen.  What are
the other dependencies?



----- Original Message ----
From: David Czarnecki <davidblojsom.com>
To: blojsom-users <blojsom-userslists.sourceforge.net>
Sent: Tuesday, October 31, 2006 1:48:06 PM
Subject: Re: [Blojsom-users] Creating multiple blogs in the
same server

So, no /WEB-INF/blogs/bootstrap directory exists?


On 10/31/06 2:39 PM, "Adrian Silveanu"
<silveanuyahoo.com> wrote:

> Hi,
> 
> I am using Blojsom v3 and my application server is
Tomcat v5.0.28.
> 
> The process I used to create a new blog site is:
> 
> Go to: 
http://a.b.c:8080/blojsom/blog/default/?flavor=admin
> In the menu, select Weblog Settings -> Blogs
> Filled in:
> Weblog ID: MyBlog2
> Also filled in Login ID, Name and Password.
> 
> Clicked "Add a weblog".
> 
> The following showed up in catalina.out:
> 
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
filter.FeedFilter - Handling
> feed filter request: /default/
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
filter.PageFilter - Handling
> page filter request: /default/
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
filter.SkipEntriesFilter -
> Handling skip entries request: /default/
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
filter.PermalinkFilter -
> Handling permalink request: /default
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
database.DatabaseFetcher -
> blojsom path info: /
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
database.DatabaseFetcher - User
> requested category: /
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
servlet.BlojsomServlet - blojsom
> plugin execution:
org.blojsom.plugin.admin.EditBlogsPlugin
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
admin.EditBlogsPlugin - User
> requested add blog action
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
admin.EditBlogsPlugin - Adding
> new blog id: MyBlog2
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
servlet.BlojsomServlet - Adding
> last-modified header for current date
> Oct 31 13:27:25 DEBUG [http-8080-Processor25]
velocity.VelocityDispatcher -
> Dispatched to flavor template:
org/blojsom/plugin/admin/templates/admin.vm
> 
> There doesn't appear to be any errors.
> 
> Tried http://a.b.c:
8080/blojsom/blog/MyBlog2/ and it showed up as a blank
> page.
> 
> I checked
>
/usr/local/jakarta-tomcat-5.0.28/webapps/blojsom/WEB-INF/blo
gs
> and
>
/usr/local/jakarta-tomcat-5.0.28/webapps/blojsom/resources
> 
> I only found default.  MyBlog2 does not exist.
> Do I need to add this manually?
> 
> Thank you,
> 
> Adrian
> 
> 
> ----- Original Message ----
> From: David Czarnecki <davidblojsom.com>
> To: blojsom-users <blojsom-userslists.sourceforge.net>
> Sent: Tuesday, October 31, 2006 7:34:49 AM
> Subject: Re: [Blojsom-users] Creating multiple blogs in
the same server
> 
> What version of blojsom are you using?
> What application server are you using?
> What errors do you see in the log file after creating
the new blog? After
> accessing the new blog?
> 
> All this information would help in solving your issue.
> 
> On 10/31/06 1:54 AM, "Adrian Silveanu"
<silveanuyahoo.com> wrote:
> 
>> Hi,
>> 
>> I have tried to create multiple blogs on the same
server.  The default blog
>> show up properly, but the second blog shows up as a
blank page.  Is this a
>> known issue or am I doing something wrong?  I would
like to create a blog
>> that
>> is visible to everyone and then another one where I
can experiment with it.
>> 
>> Thank you,
>> 
>> Adrian
>> 
>> 
>> 
>> 
>> 
>> 
>>
------------------------------------------------------------
-------------
>> Using Tomcat but need to do more? Need to support
web services, security?
>> Get stuff done quickly with pre-integrated
technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1
based on Apache Geronimo
>> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Blojsom-users mailing list
>> Blojsom-userslists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers






------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )