List Info

Thread: trying to go live but have wrong URLS and database is empty




trying to go live but have wrong URLS and database is empty
user name
2007-06-13 20:08:31
I just tried to go live and found that I have some of the content that I created locally on my live site. I guess this is how hibernate works. So I checked the database to see if I can delete those

1) the urls are all pointing to my machine9;s IP address instead of the correct domain. I can't view the admin pages, only on my local machine.

2) Using phpMyAdmin:  Database: dhtmlkit_blojsom
No tables found in database

What do I need to do to initialize the database on the server? How can I fix those URLs so they don't point to my local machine?

Thank you,

Garrett

--
site still down.
Re: trying to go live but have wrong URLS and database is empty
country flaguser name
United States
2007-06-13 21:22:37
The URL properties are in the Properties table in the database. Just make sure you’re pointing phpMyAdmin at the correct database I guess.

On 6/13/07 9:08 PM, "Garrett Smith"; <dhtmlkitchengmail.com&gt; wrote:

I just tried to go live and found that I have some of the content that I created locally on my live site. I guess this is how hibernate works. So I checked the database to see if I can delete those

1) the urls are all pointing to my machine's IP address instead of the correct domain. I can't view the admin pages, only on my local machine.

2) Using phpMyAdmin:  Database: dhtmlkit_blojsom
No tables found in database

What do I need to do to initialize the database on the server? How can I fix those URLs so they don't point to my local machine?

Thank you,

Garrett


--
David Czarnecki

http://www.blojsom.com/blog/ | http://blojsom.sf.net
Re: trying to go live but have wrong URLS and database is empty
user name
2007-06-14 00:39:34
In blojsom-helper-beans-include.xml, I set the  bean
id="dataSource"'s
url property to:

        <property name="url"
value="jdbc:mysql://localhost:3306/dhtmlkit_blojsom?aut
oReconnect=true&amp;useUnicode=true&amp;characterEnc
oding=utf-8"/>

Database: dhtmlkit_blojsom

No tables found in database.

I followed the directions and it works locally.
http://wiki.blojsom.com/wiki/display/blojsom
3/Tomcat+Setup+for+MySQL

I checked the log files and there is no JDBC error.

I do see the test entries that I created on the site live.
These
entries were created on my local machine. I was surprised to
see them
live. I cannot log in to the admin screen. Why does the
action to the
admin login points to my IP address?
<form name="blojsom-login"
action="
http://24.6.215.208/news/default/?flavor=admin"
method="post">

All the blojsom URLs point to my machine.

Garrett


On 6/13/07, David Czarnecki <davidblojsom.com> wrote:
>
>  The URL properties are in the Properties table in the
database. Just make sure you're pointing phpMyAdmin at the
correct database I guess.
>
>
>  On 6/13/07 9:08 PM, "Garrett Smith"
<dhtmlkitchengmail.com> wrote:
>
>
>
> I just tried to go live and found that I have some of
the content that I created locally on my live site. I guess
this is how hibernate works. So I checked the database to
see if I can delete those
>
>  1) the urls are all pointing to my machine's IP
address instead of the correct domain. I can't view the
admin pages, only on my local machine.
>
>  2) Using phpMyAdmin:  Database: dhtmlkit_blojsom
>  No tables found in database
>
>  What do I need to do to initialize the database on the
server? How can I fix those URLs so they don't point to my
local machine?
>
>  Thank you,
>
>  Garrett
>
>
>  --
>  David Czarnecki
>
>  http://www.blojsom.com/b
log/ | http://blojsom.sf.net
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>



-- 
site still down.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: trying to go live but have wrong URLS and databaseis empty
country flaguser name
United States
2007-06-14 09:17:31

Garrett,

I’m a newbie to blojsom, but have just gone through the setup process on a hosted site with MySQL.

 

I ended up initializing the database manually. Using the blojsom-full-initial-data-mysql.sql file (under classes) as a starting point, I edited out all of the LOCK and UNLOCK statements. My server didn’t like those. Then, I copied the text in phpMyAdmin is the SQL window. You can edit the INSERT statements to set up the URLs properly for the Base and Admin, etc. properties. Then, execute the statements so that it creates all of the tables.

 

After this, you should be able to run the blojsom?flavor=admin script to be able to configure your site. If the main or admin site doesn̵7;t format properly, check the ‘base-url’; properties. I’ve manually updated them with SQL ‘Update’ statements. But you can also use the admin interface.

 

Hope this helps,

 

Dave

 

-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net [mailto:blojsom-users-bounceslists.sourceforge.net] On Behalf Of Garrett Smith
Sent: Wednesday, June 13, 2007 9:09 PM
To: blojsom-userslists.sourceforge.net
Subject: [Blojsom-users] trying to go live but have wrong URLS and databaseis empty

 

I just tried to go live and found that I have some of the content that I created locally on my live site. I guess this is how hibernate works. So I checked the database to see if I can delete those

1) the urls are all pointing to my machine's IP address instead of the correct domain. I can't view the admin pages, only on my local machine.

2) Using phpMyAdmin:  Database: dhtmlkit_blojsom
No tables found in database

What do I need to do to initialize the database on the server? How can I fix those URLs so they don't point to my local machine?

Thank you,

Garrett

--
site still down.

Re: trying to go live but have wrong URLS anddatabase is empty
user name
2007-06-15 14:46:39
Make sure that the MySQL user you're logged in has the right
privileges
to read your database.  If it doesn't, it won't be able to
see any of
it's tables.

Kenny



-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of
Garrett Smith
Sent: Thursday, June 14, 2007 1:40 AM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] trying to go live but have
wrong URLS
anddatabase is empty

In blojsom-helper-beans-include.xml, I set the  bean
id="dataSource"'s
url property to:

        <property name="url"
value="jdbc:mysql://localhost:3306/dhtmlkit_blojsom?aut
oReconnect=true&a
mp;useUnicode=true&amp;characterEncoding=utf-8"/>
;

Database: dhtmlkit_blojsom

No tables found in database.

I followed the directions and it works locally.
http://wiki.blojsom.com/wiki/display/blojsom
3/Tomcat+Setup+for+MySQL

I checked the log files and there is no JDBC error.

I do see the test entries that I created on the site live.
These
entries were created on my local machine. I was surprised to
see them
live. I cannot log in to the admin screen. Why does the
action to the
admin login points to my IP address?
<form name="blojsom-login"
action="
http://24.6.215.208/news/default/?flavor=admin"
method="post">

All the blojsom URLs point to my machine.

Garrett


On 6/13/07, David Czarnecki <davidblojsom.com> wrote:
>
>  The URL properties are in the Properties table in the
database. Just
make sure you're pointing phpMyAdmin at the correct database
I guess.
>
>
>  On 6/13/07 9:08 PM, "Garrett Smith"
<dhtmlkitchengmail.com> wrote:
>
>
>
> I just tried to go live and found that I have some of
the content that
I created locally on my live site. I guess this is how
hibernate works.
So I checked the database to see if I can delete those
>
>  1) the urls are all pointing to my machine's IP
address instead of
the correct domain. I can't view the admin pages, only on my
local
machine.
>
>  2) Using phpMyAdmin:  Database: dhtmlkit_blojsom
>  No tables found in database
>
>  What do I need to do to initialize the database on the
server? How
can I fix those URLs so they don't point to my local
machine?
>
>  Thank you,
>
>  Garrett
>
>
>  --
>  David Czarnecki
>
>  http://www.blojsom.com/b
log/ | http://blojsom.sf.net
>
>
------------------------------------------------------------
------------
-
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>



-- 
site still down.

------------------------------------------------------------
------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: trying to go live but have wrong URLS anddatabase is empty
user name
2007-06-16 20:56:40
well, I just put the site up and it is showing up wrong. You
can see
that everwhere I try to reference the blog. it has the page
that
displays the wrong content.


On 6/15/07, Horan, Kenneth M. <KHoranintelink.gov> wrote:
> Make sure that the MySQL user you're logged in has the
right privileges
> to read your database.  If it doesn't, it won't be able
to see any of
> it's tables.
>
> Kenny
>
>
>
> -----Original Message-----
> From: blojsom-users-bounceslists.sourceforge.net
> [mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of
> Garrett Smith
> Sent: Thursday, June 14, 2007 1:40 AM
> To: blojsom-userslists.sourceforge.net
> Subject: Re: [Blojsom-users] trying to go live but have
wrong URLS
> anddatabase is empty
>
> In blojsom-helper-beans-include.xml, I set the  bean
id="dataSource"'s
> url property to:
>
>         <property name="url"
>
value="jdbc:mysql://localhost:3306/dhtmlkit_blojsom?aut
oReconnect=true&a
>
mp;useUnicode=true&amp;characterEncoding=utf-8"/>
;
>
> Database: dhtmlkit_blojsom
>
> No tables found in database.
>
> I followed the directions and it works locally.
> http://wiki.blojsom.com/wiki/display/blojsom
3/Tomcat+Setup+for+MySQL
>
> I checked the log files and there is no JDBC error.
>
> I do see the test entries that I created on the site
live. These
> entries were created on my local machine. I was
surprised to see them
> live. I cannot log in to the admin screen. Why does the
action to the
> admin login points to my IP address?
> <form name="blojsom-login"
> action="
http://24.6.215.208/news/default/?flavor=admin"
method="post">
>
> All the blojsom URLs point to my machine.
>
> Garrett
>
>
> On 6/13/07, David Czarnecki <davidblojsom.com> wrote:
> >
> >  The URL properties are in the Properties table in
the database. Just
> make sure you're pointing phpMyAdmin at the correct
database I guess.
> >
> >
> >  On 6/13/07 9:08 PM, "Garrett Smith"
<dhtmlkitchengmail.com> wrote:
> >
> >
> >
> > I just tried to go live and found that I have some
of the content that
> I created locally on my live site. I guess this is how
hibernate works.
> So I checked the database to see if I can delete those
> >
> >  1) the urls are all pointing to my machine's IP
address instead of
> the correct domain. I can't view the admin pages, only
on my local
> machine.
> >
> >  2) Using phpMyAdmin:  Database: dhtmlkit_blojsom
> >  No tables found in database
> >
> >  What do I need to do to initialize the database
on the server? How
> can I fix those URLs so they don't point to my local
machine?
> >
> >  Thank you,
> >
> >  Garrett
> >
> >
> >  --
> >  David Czarnecki
> >
> >  http://www.blojsom.com/b
log/ | http://blojsom.sf.net
> >
> >
>
------------------------------------------------------------
------------
> -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2
express and take
> > control of your XML. No limits. Just data. Click
to get it now.
> > http://sourcefor
ge.net/powerbar/db2/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> >
> >
>
>
>
> --
> site still down.
>
>
------------------------------------------------------------
------------
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>


-- 
site still down.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: trying to go live but have wrong URLS anddatabase is empty
user name
2007-06-16 20:56:48
http://dhtmlkitchen.com/


On 6/16/07, Garrett Smith <dhtmlkitchengmail.com> wrote:
> well, I just put the site up and it is showing up
wrong. You can see
> that everwhere I try to reference the blog. it has the
page that
> displays the wrong content.
>
>
> On 6/15/07, Horan, Kenneth M. <KHoranintelink.gov> wrote:
> > Make sure that the MySQL user you're logged in has
the right privileges
> > to read your database.  If it doesn't, it won't be
able to see any of
> > it's tables.
> >
> > Kenny
> >
> >
> >
> > -----Original Message-----
> > From: blojsom-users-bounceslists.sourceforge.net
> > [mailto:blojsom-users-bounceslists.sourceforge.net] On Behalf Of
> > Garrett Smith
> > Sent: Thursday, June 14, 2007 1:40 AM
> > To: blojsom-userslists.sourceforge.net
> > Subject: Re: [Blojsom-users] trying to go live but
have wrong URLS
> > anddatabase is empty
> >
> > In blojsom-helper-beans-include.xml, I set the 
bean id="dataSource"'s
> > url property to:
> >
> >         <property name="url"
> >
value="jdbc:mysql://localhost:3306/dhtmlkit_blojsom?aut
oReconnect=true&a
> >
mp;useUnicode=true&amp;characterEncoding=utf-8"/>
;
> >
> > Database: dhtmlkit_blojsom
> >
> > No tables found in database.
> >
> > I followed the directions and it works locally.
> > http://wiki.blojsom.com/wiki/display/blojsom
3/Tomcat+Setup+for+MySQL
> >
> > I checked the log files and there is no JDBC
error.
> >
> > I do see the test entries that I created on the
site live. These
> > entries were created on my local machine. I was
surprised to see them
> > live. I cannot log in to the admin screen. Why
does the action to the
> > admin login points to my IP address?
> > <form name="blojsom-login"
> > action="
http://24.6.215.208/news/default/?flavor=admin"
method="post">
> >
> > All the blojsom URLs point to my machine.
> >
> > Garrett
> >
> >
> > On 6/13/07, David Czarnecki <davidblojsom.com> wrote:
> > >
> > >  The URL properties are in the Properties
table in the database. Just
> > make sure you're pointing phpMyAdmin at the
correct database I guess.
> > >
> > >
> > >  On 6/13/07 9:08 PM, "Garrett
Smith" <dhtmlkitchengmail.com> wrote:
> > >
> > >
> > >
> > > I just tried to go live and found that I have
some of the content that
> > I created locally on my live site. I guess this is
how hibernate works.
> > So I checked the database to see if I can delete
those
> > >
> > >  1) the urls are all pointing to my machine's
IP address instead of
> > the correct domain. I can't view the admin pages,
only on my local
> > machine.
> > >
> > >  2) Using phpMyAdmin:  Database:
dhtmlkit_blojsom
> > >  No tables found in database
> > >
> > >  What do I need to do to initialize the
database on the server? How
> > can I fix those URLs so they don't point to my
local machine?
> > >
> > >  Thank you,
> > >
> > >  Garrett
> > >
> > >
> > >  --
> > >  David Czarnecki
> > >
> > >  http://www.blojsom.com/b
log/ | http://blojsom.sf.net
> > >
> > >
> >
------------------------------------------------------------
------------
> > -
> > > This SF.net email is sponsored by DB2
Express
> > > Download DB2 Express C - the FREE version of
DB2 express and take
> > > control of your XML. No limits. Just data.
Click to get it now.
> > > http://sourcefor
ge.net/powerbar/db2/
> > >
_______________________________________________
> > > Blojsom-users mailing list
> > > Blojsom-userslists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> > >
> > >
> >
> >
> >
> > --
> > site still down.
> >
> >
------------------------------------------------------------
------------
> > -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2
express and take
> > control of your XML. No limits. Just data. Click
to get it now.
> > http://sourcefor
ge.net/powerbar/db2/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> >
> >
------------------------------------------------------------
-------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2
express and take
> > control of your XML. No limits. Just data. Click
to get it now.
> > http://sourcefor
ge.net/powerbar/db2/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> >
>
>
> --
> site still down.
>


-- 
site still down.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: trying to go live but have wrong URLSanddatabase is empty
country flaguser name
India
2007-06-17 23:01:32
Hi Garrett,

Just a small checklist of things that might be the
cause.....


The default port for MySql is 3306. But please verify your
MySql
installation against 3306, and you may need to remove that
so your URL entry
looks like this:

         <property name="url"
 value="jdbc:mysql://localhost/dhtmlkit_blojsom?autoRec
onnect=true&a
 mp;useUnicode=true&amp;characterEncoding=utf-8"/&g
t;




Also, the mysql full initial data file contains this, which
may be your
problem

--
-- Initial database creation
--

DROP DATABASE IF EXISTS blojsom;
CREATE DATABASE IF NOT EXISTS blojsom;
USE blojsom;




Also, the index.hml in your web app contains this code

You may want to do a meta refresh to redirect visitors to
your main blog
page. For example:
<pre>
&lt;meta http-equiv="refresh"
content="0;URL=http://localhost:8080/blojsom/blog/default/"&g
t;


Please change this to redirect appropriately....




--Shalini




-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Garrett
Smith
Sent: Sunday, June 17, 2007 7:27 AM
To: blojsom-userslists.sourceforge.net
Subject: Re: [Blojsom-users] trying to go live but have
wrong
URLSanddatabase is empty

well, I just put the site up and it is showing up wrong. You
can see
that everwhere I try to reference the blog. it has the page
that
displays the wrong content.


On 6/15/07, Horan, Kenneth M. <KHoranintelink.gov> wrote:
> Make sure that the MySQL user you're logged in has the
right privileges
> to read your database.  If it doesn't, it won't be able
to see any of
> it's tables.
>
> Kenny
>
>
>
> -----Original Message-----
> From: blojsom-users-bounceslists.sourceforge.net
> [mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of
> Garrett Smith
> Sent: Thursday, June 14, 2007 1:40 AM
> To: blojsom-userslists.sourceforge.net
> Subject: Re: [Blojsom-users] trying to go live but have
wrong URLS
> anddatabase is empty
>
> In blojsom-helper-beans-include.xml, I set the  bean
id="dataSource"'s
> url property to:
>
>         <property name="url"
>
value="jdbc:mysql://localhost:3306/dhtmlkit_blojsom?aut
oReconnect=true&a
>
mp;useUnicode=true&amp;characterEncoding=utf-8"/>
;
>
> Database: dhtmlkit_blojsom
>
> No tables found in database.
>
> I followed the directions and it works locally.
> http://wiki.blojsom.com/wiki/display/blojsom
3/Tomcat+Setup+for+MySQL
>
> I checked the log files and there is no JDBC error.
>
> I do see the test entries that I created on the site
live. These
> entries were created on my local machine. I was
surprised to see them
> live. I cannot log in to the admin screen. Why does the
action to the
> admin login points to my IP address?
> <form name="blojsom-login"
> action="
http://24.6.215.208/news/default/?flavor=admin"
method="post">
>
> All the blojsom URLs point to my machine.
>
> Garrett
>
>
> On 6/13/07, David Czarnecki <davidblojsom.com> wrote:
> >
> >  The URL properties are in the Properties table in
the database. Just
> make sure you're pointing phpMyAdmin at the correct
database I guess.
> >
> >
> >  On 6/13/07 9:08 PM, "Garrett Smith"
<dhtmlkitchengmail.com> wrote:
> >
> >
> >
> > I just tried to go live and found that I have some
of the content that
> I created locally on my live site. I guess this is how
hibernate works.
> So I checked the database to see if I can delete those
> >
> >  1) the urls are all pointing to my machine's IP
address instead of
> the correct domain. I can't view the admin pages, only
on my local
> machine.
> >
> >  2) Using phpMyAdmin:  Database: dhtmlkit_blojsom
> >  No tables found in database
> >
> >  What do I need to do to initialize the database
on the server? How
> can I fix those URLs so they don't point to my local
machine?
> >
> >  Thank you,
> >
> >  Garrett
> >
> >
> >  --
> >  David Czarnecki
> >
> >  http://www.blojsom.com/b
log/ | http://blojsom.sf.net
> >
> >
>
------------------------------------------------------------
------------
> -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2
express and take
> > control of your XML. No limits. Just data. Click
to get it now.
> > http://sourcefor
ge.net/powerbar/db2/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> >
> >
>
>
>
> --
> site still down.
>
>
------------------------------------------------------------
------------
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>


-- 
site still down.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: trying to go live but have wrong URLSanddatabase is empty
user name
2007-06-18 00:05:49
 * got the database initialized using phpMyAdmin

The mysql port is 3306


I do not get the
<servlet-mapping>
        <servlet-name>blojsom</servlet-name>
        <url-pattern>/news/*</url-pattern>
    </servlet-mapping>

I'm not getting the mapping for /news/. I get instead  a 404
now. It
might be a Tomcat configuration issue. Tomcat 6 is a little
different.
I'm not sure why I have this problem live and not at home.

ERROR TP-Processor35
org.apache.catalina.core.ContainerBase.[Catalina].[dhtmlkitc
hen.com].[/].[jsp]
- Servlet.service() for servlet jsp threw exception
java.io.FileNotFoundException: http://dhtmlk
itchen.com/news/?page=head

My host is trying to figure it out.

Thanks for the positive advice, Shalini.

Garrett


On 6/17/07, Shalini <shaliny.igmail.com> wrote:
> Hi Garrett,
>
> Just a small checklist of things that might be the
cause.....
>
>
> The default port for MySql is 3306. But please verify
your MySql
> installation against 3306, and you may need to remove
that so your URL entry
> looks like this:
>
>          <property name="url"
> 
value="jdbc:mysql://localhost/dhtmlkit_blojsom?autoReco
nnect=true&a
> 
mp;useUnicode=true&amp;characterEncoding=utf-8"/>
;
>
>
>
>
> Also, the mysql full initial data file contains this,
which may be your
> problem
>
> --
> -- Initial database creation
> --
>
> DROP DATABASE IF EXISTS blojsom;
> CREATE DATABASE IF NOT EXISTS blojsom;
> USE blojsom;
>
>
>
>
> Also, the index.hml in your web app contains this code
>
> You may want to do a meta refresh to redirect visitors
to your main blog
> page. For example:
> <pre>
> &lt;meta http-equiv="refresh"
> content="0;URL=http://localhost:8080/blojsom/blog/default/"&g
t;
>
>
> Please change this to redirect appropriately....
>
>
>
>
> --Shalini
>
>
>
>
> -----Original Message-----
> From: blojsom-users-bounceslists.sourceforge.net
> [mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Garrett
> Smith
> Sent: Sunday, June 17, 2007 7:27 AM
> To: blojsom-userslists.sourceforge.net
> Subject: Re: [Blojsom-users] trying to go live but have
wrong
> URLSanddatabase is empty
>
> well, I just put the site up and it is showing up
wrong. You can see
> that everwhere I try to reference the blog. it has the
page that
> displays the wrong content.
>
>
> On 6/15/07, Horan, Kenneth M. <KHoranintelink.gov> wrote:
> > Make sure that the MySQL user you're logged in has
the right privileges
> > to read your database.  If it doesn't, it won't be
able to see any of
> > it's tables.
> >
> > Kenny
> >
> >
> >
> > -----Original Message-----
> > From: blojsom-users-bounceslists.sourceforge.net
> > [mailto:blojsom-users-bounceslists.sourceforge.net] On Behalf Of
> > Garrett Smith
> > Sent: Thursday, June 14, 2007 1:40 AM
> > To: blojsom-userslists.sourceforge.net
> > Subject: Re: [Blojsom-users] trying to go live but
have wrong URLS
> > anddatabase is empty
> >
> > In blojsom-helper-beans-include.xml, I set the 
bean id="dataSource"'s
> > url property to:
> >
> >         <property name="url"
> >
value="jdbc:mysql://localhost:3306/dhtmlkit_blojsom?aut
oReconnect=true&a
> >
mp;useUnicode=true&amp;characterEncoding=utf-8"/>
;
> >
> > Database: dhtmlkit_blojsom
> >
> > No tables found in database.
> >
> > I followed the directions and it works locally.
> > http://wiki.blojsom.com/wiki/display/blojsom
3/Tomcat+Setup+for+MySQL
> >
> > I checked the log files and there is no JDBC
error.
> >
> > I do see the test entries that I created on the
site live. These
> > entries were created on my local machine. I was
surprised to see them
> > live. I cannot log in to the admin screen. Why
does the action to the
> > admin login points to my IP address?
> > <form name="blojsom-login"
> > action="
http://24.6.215.208/news/default/?flavor=admin"
method="post">
> >
> > All the blojsom URLs point to my machine.
> >
> > Garrett
> >
> >
> > On 6/13/07, David Czarnecki <davidblojsom.com> wrote:
> > >
> > >  The URL properties are in the Properties
table in the database. Just
> > make sure you're pointing phpMyAdmin at the
correct database I guess.
> > >
> > >
> > >  On 6/13/07 9:08 PM, "Garrett
Smith" <dhtmlkitchengmail.com> wrote:
> > >
> > >
> > >
> > > I just tried to go live and found that I have
some of the content that
> > I created locally on my live site. I guess this is
how hibernate works.
> > So I checked the database to see if I can delete
those
> > >
> > >  1) the urls are all pointing to my machine's
IP address instead of
> > the correct domain. I can't view the admin pages,
only on my local
> > machine.
> > >
> > >  2) Using phpMyAdmin:  Database:
dhtmlkit_blojsom
> > >  No tables found in database
> > >
> > >  What do I need to do to initialize the
database on the server? How
> > can I fix those URLs so they don't point to my
local machine?
> > >
> > >  Thank you,
> > >
> > >  Garrett
> > >
> > >
> > >  --
> > >  David Czarnecki
> > >
> > >  http://www.blojsom.com/b
log/ | http://blojsom.sf.net
> > >
> > >
> >
------------------------------------------------------------
------------
> > -
> > > This SF.net email is sponsored by DB2
Express
> > > Download DB2 Express C - the FREE version of
DB2 express and take
> > > control of your XML. No limits. Just data.
Click to get it now.
> > > http://sourcefor
ge.net/powerbar/db2/
> > >
_______________________________________________
> > > Blojsom-users mailing list
> > > Blojsom-userslists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> > >
> > >
> >
> >
> >
> > --
> > site still down.
> >
> >
------------------------------------------------------------
------------
> > -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2
express and take
> > control of your XML. No limits. Just data. Click
to get it now.
> > http://sourcefor
ge.net/powerbar/db2/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> >
> >
------------------------------------------------------------
-------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2
express and take
> > control of your XML. No limits. Just data. Click
to get it now.
> > http://sourcefor
ge.net/powerbar/db2/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> >
>
>
> --
> site still down.
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>


-- 
site still down.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

[1-9]

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