I don't know if SJ 1.1 is even going to run under TC 4.x, but we'll see. The config file is read by the AppInitServlet which should be initialized when the SJ server is started, assuming that the web.xml file is set up properly. Seems to me that the way this is handled changed from TC 3.x to 4.x. Try modifying the SJ web.xml so that there is no number inside the load-on-startup tags for AppConfigInitServlet. Should just look like this:
<load-on-startup></load-on-startup> Then try re-starting your SJ server. --Rob --- "Xu, Rose" <[EMAIL PROTECTED]> wrote: > Rob; > > Thanks for this email. I am using SJ client 1.1, and server 1.1. My > tomcat is 4.0.6. Dave had apache server/tomcat/sj server all set up on > one machine (client/server together). That's what I inherited, believe > me, I hate it. But not much space for me to move around. We deploy our > application over linux server (putting war file). I don't know why it > is set up this way, very insecure. Once I get more time, will like to > change it, but right now, all I can do is to go from what he has... > > After he left, I took over his projects. I went over reinstall the > tomcat and apache, and configure them with mod_jk for another project. > It is running well, until this time around, I need create a new > applicaton which based on his application (we extend the same parent > class). I realize I can't just put my codes into SJ archives, I need to > set them up correctly in SJ, then the souce.jam file will be put > correctly into the project folder. Right now my confirm page (jsp page) > can't insert data into database, and it is compaining about the bean > property is not assigned value, but I fill in the text box with the > values before I submit to the confirmation page. I test the existing > application, found out if I pull the source.jam out of the directory, > the same issue will happen, this gets me to SJ part..... A long story. > > Now back to what I am doing, follow your last email,I went to > c:\SourceJammer\server\deploy run "deploy SJDeploymentDescriptor.xml", > there error message points to > http://localhost:8085/sourcejammer/servlet/rpcrouter > I realize the configure file points to the wrong port, I went to > c:\SourceJammer\conf check all the config files there, see the old > archives.xml points to 8085 port. I change it to 8080 port. After I > rerun the "deploy SJDeploymentDescriptor.xml", problem still there. But > if I login through the SJ client, it complaints about "the serverconfig > has not been initialized". Two questions here: > 1)Is there any other config file that I miss has wrong port info? What > is it? > 2)How should I initialize serverconfig, which file I should run? > > Rob, I really appreciate you time here, sorry for all the questions. > Also, please let me know if you need any more info from me? > > Thanks > > Rose > > > > > > -----Original Message----- > From: Robert MacGrogan [mailto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 5:09 PM > To: Xu, Rose > Cc: [EMAIL PROTECTED] > Subject: RE: [SourceJammer-users] How can I reset the username and > password in SourceJammer > > > Hi, Rose. > > OK. SJ 1.1. That complicates things a bit. This is a fairly old version > from my perspective and not so easy to support. > > For now, please ignore the quickstart guide. It probably won't help you. > > If I understand your situation correctly, you have a production SJ 1.1 > server that you need to connect to. And you're also trying to set up a > 1.1 server on your local computer. Is this correct? > > > Your first priority is to make sure you can get the 1.1 server up and > running and get connected to it using a 1.1 client. Then you can think > about migrating to later versions. > > Please try, as well as you can, to explain your environment to me and > what sort of configuration changes you've made to TC. What version of TC > are you running? What is the exact version number of your SJ client? Why > are you trying to install and set up an SJ server on your local machine? > > Actually, now that I think of it, there might be some incompatibility > with Tomcat. I think sj 1.1 requires TC 3.x or something like that. > There was a release that bundled TC with SJ. You might want to try > downloading that file and using that version of TC. Also, SJ 1.1 might > not be compatible with Java 1.4. It uses xerces for XML parsing and this > could be causing some compatability issues. Look for error messages when > SJ server starts up. > > Thanks. > > --Rob > > > > --- "Xu, Rose" <[EMAIL PROTECTED]> wrote: > > Rob; > > > > I also hit the link > > http://localhost:8080/sourcejammer > > > > Error message I got shows me you are right, my SJ server is not > > running actually. I will ref the lead you gave me in the previous > > email. If the below error message yield more info to you, which you > > can point to me more way to test around, I will greatly appreciated. > > > > Thanks for all the help along the way, I greatly appreciate your help > > and am very impressive for the support! > > > > Rose > > > > Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error > > > > ---------------------------------------------------------------------- > > -- > > -------- > > > > type Exception report > > > > message Internal Server Error > > > > description The server encountered an internal error (Internal Server > > Error) that prevented it from fulfilling this request. > > > > exception > > > > org.sourcejammer.util.ConfigurationException: ServerConfig has not > > been intialized. > > at > > > org.sourcejammer.server.ServerConfig.getInstance(ServerConfig.java:119) > > at org.apache.jsp.error$jsp._jspService(error$jsp.java:60) > > at > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServ > > le > > t.java:201) > > at > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) > > at > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc > > her.java:683) > > at > > > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp > > atcher.java:431) > > at > > > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat > > cher.java:355) > > at > > > org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4 > > 14) > > at > > > org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex > > tImpl.java:452) > > at org.apache.jsp.index$jsp._jspService(index$jsp.java:116) > > at > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle > > t.java:201) > > at > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) > > at > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > > tionFilterChain.java:247) > > at > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > > erChain.java:193) > > at > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > > e.java:243) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > > va:566) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > 72) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > > e.java:190) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > > va:566) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > 72) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 > > 7) > > at > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > > :180) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > > va:566) > > at > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa > > lve.java:170) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > > va:564) > > at > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > > :170) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > > va:564) > > at > > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468 > > ) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > > va:564) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > 72) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. > > java:174) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > > va:566) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > 72) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j > > ava:1027) > > at > > > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: > > 1125) > > at java.lang.Thread.run(Thread.java:484) > > > > > > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ > > __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ SourceJammer-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sourcejammer-users