List Info

Thread: Re: Migrate blojsom.war fromTomcat toJBoss linkproblems




Re: Migrate blojsom.war fromTomcat toJBoss linkproblems
country flaguser name
United States
2007-08-15 04:56:22
Hello Shalini, thanks for the speedy reply. Please find the
answers to your questions included below. I have not checked
the log file for the login error as posted previously, I
have a second console monitor that I will set to tail -f on
the server.log and hit the login button and reply if their
something of significance. I have checked the remaining
Properties *.xml files but nothing outstanding. hanks in
advance and please advise, David.

************************************************************
***********************************************
blog-id	       
property_name		property_value						property_id
1 		blog-url 		h
ttp://davidwbrown.name:8180/blojsom/blog/davidblog 	1
1 		blog-admin-url 		h
ttp://davidwbrown.name:8180/blojsom/blog/davidblog 	2
1 		blog-base-url 		http://davidwbro
wn.name:8180/blojsom 			3
1 		blog-base-admin-url 	http://davidwbro
wn.name:8180/blojsom 			4


All categories point to: http://www.davidwbrown.name:8080/bjojsom/blog/davidblog

switch to Elastic/Fixed layout mouse-over is: correct URL.

in JBoss-4.2.1.GA/lib (see below):

log4j-boot.jar
jboss-xml-binding.jar
jboss-system.jar
jboss-jmx.jar
jboss-common.jar
getopt.jar
concurrent.jar
commons-logging.jar
commons-httpclient.jar
commons-codec.jar

in JBoss-4.2.1.GA/lib/endorsed(see below):

serializer.jar
xalan.jar
xercesImpl.jar

**************************************************** Blojsom
Helper Bean *********************************

<bean id="dataSource"
class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
        <property name="driverClassName"
value="com.mysql.jdbc.Driver"/>
        <property name="url"
value="jdbc:mysql://davidwbrown.name:3306/blojsom?autoR
econnect=true&amp;useUnicode=true&amp;characterEncod
ing=utf-8"/>
        <property name="username"
value="blojsom"/>
        <property name="password"
value="blojsom"/>
</bean>
************************************************************
****************************************************




Shalini wrote ..
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? 
Stop.
> Now Search log events and configuration files using
AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: Migrate blojsom.war fromTomcat toJBoss linkprobl ems
country flaguser name
India
2007-08-15 23:38:58
Hi David,
I see that your database entries are perfectly ok.

You could try two things:

[1]

Remove the 3306 port from the Datasource Bean... 3306 is the default for MySql. I've done the same thing earlier and resolved my problem. It shouldn't matter but somehow it does... [Idiosyncrasies of the programming world!!! ]
**************************************************** Blojsom Helper Bean *********************************

<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/&gt;
        <property name="url" value="jdbc:mysql://davidwbrown.name/blojsom?autoReconnect=true&amp;amp;useUnicode=true&amp;characterEncoding=utf-8"/>
        <property name="username" value="blojsom"/>

        <property name="password" value="blojsom"/>

</bean&gt;
****************************************************************************************************************


[2]
I donot use JBOSS and therefore don't know too much about it.. but from what i can see, i think you're missing the MySql connector .jar file .... (http://www.mysql.com/products/connector/j/)
in which case, ideally it shouldn't even load this much correctly....you probably should get a Null Pointer or something...anyway you are getting a page minus the CSS --- but just check this out.



Hope you kill your bug


~Shalini





david wrote:
davidwbrown.name" type="cite">
Hello Shalini, thanks for the speedy reply. Please find the answers to your questions included below. I have not checked the log file for the login error as posted previously, I have a second console monitor that I will set to tail -f on the server.log and hit the login button and reply if their something of significance. I have checked the remaining Properties *.xml files but nothing outstanding. hanks in advance and please advise, David.

***********************************************************************************************************
blog-id	        property_name		property_value						property_id
1 		blog-url 		http://davidwbrown.name:8180/blojsom/blog/davidblog 	1
1 		blog-admin-url 		http://davidwbrown.name:8180/blojsom/blog/davidblog 	2
1 		blog-base-url 		http://davidwbrown.name:8180/blojsom 			3
1 		blog-base-admin-url 	http://davidwbrown.name:8180/blojsom 			4


All categories point to: http://www.davidwbrown.name:8080/bjojsom/blog/davidblog

switch to Elastic/Fixed layout mouse-over is: correct URL.

in JBoss-4.2.1.GA/lib (see below):


log4j-boot.jar
jboss-xml-binding.jar
jboss-system.jar
jboss-jmx.jar
jboss-common.jar
getopt.jar
concurrent.jar
commons-logging.jar
commons-httpclient.jar
commons-codec.jar

in JBoss-4.2.1.GA/lib/endorsed(see below):


serializer.jar
xalan.jar
xercesImpl.jar

**************************************************** Blojsom Helper Bean *********************************

<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/&gt;
        <property name="url" value="jdbc:mysql://davidwbrown.name:3306/blojsom?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8"/>

        <property name="username" value="blojsom"/>

        <property name="password" value="blojsom"/>

</bean&gt;
****************************************************************************************************************




Shalini wrote ..
  
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
    

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
lists.sourceforge.net">Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users

  

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.

[1-2]

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