I am trying to upgrade an application from 4.0.5.GA to 5.1.0.GA and don't know where to start.
So this is what I have done so far. I have downloaded JBOSS 5.1.0.GA and started it on my eclipse Indigo Service Release 2. It starts up fine so far.
Now I am trying to copy changes from previous server to new one. In my older server.xml there are a bunch of <Host> that I need to move to the new server. However when I copied them over to the new server.xml JBOSS gave me errors. Reason it turned out to be <Logger> and the <context>. I removed these two and life was good.
Now question is where does these two go?
I am a novice developer and have never obviously done a migration so please excuse me if my questions sound too stupid.
Okay to get a sense of direction I tried to run my project. I figured I will see errors in the log and I can use that as my starting point. Well it looks like the log files are not getting updated. So let's put that as a priority. Can anyone tell me how to link my project's log files here?
First of all THANK YOU for replying!!!
I was able to add the <Host> to the new server.xml. And yes I am modifying the server\default\deploy\jbossweb.sar\server.xml.
However in my previous (4.0.5) server.xml, I had <Context path="/images" docBase="..../> which if I add to the new server.xml it throws errors. Does this go to a different location now?
Does JBoss 5.1.0 have a problem with EJB 2.0? In my build.xml under the ejbdoclet, I see a warning that the classpathref="classpath.BUILD" is not found. I don't see an error though, the application works okay up to a point. However at one point in the application you should be able to 'autologin' to a different site which is not working anymore and to me it seems like the ejb's are not working so the user info is not coming through. Any input on this?
Thanks... I was able to find out what the problem was. It had to do with the way values were saved in our DB.
I am running into another issue now though.. Keep getting the following error. I researched online and included JAVA_OPTS="-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false" in my C:/jboss/bin/run.conf file... but still not working... Any suggestions ?
org.apache.jasper.JasperException: /t.jsp(27,22) Attribute value "/t/" + host.getTemplateDirectory() + "/" + template is quoted with " which must be escaped when used within the value
Yes I am working towards it.
Now I am stuck at a different place. My app works fine until at one point it gives me the following exception.
The following system error has occured: The AXIS engine could not find a target service to invoke! targetService is UserManagement
I have researched online but nothing is helping me. I even checked my server-config.wsdd file and see the service in there.
Basically there are two projects running this app. The targetService is in a .war file and I have confirmed this.
Can you please help me here? I would really appreciate this.
Yay.. I think posting on coderanch is good for me. I answer my own questions. So I had to include the server-config.wsdd in my .war/WEB-INF also and that resolved the issue.
Let's move on.
Okay in my server.xml for Jboss 4 I had the context path to a folder that contained some images. Where would I include this path in Jboss 5? Including in same place gives me errors.
Hmm it didn't throw any error but the image didn't show up either. I have to check the code now to see how the image is called. Sorry I didn't write the code so everything is new to me.
I will get back to you with my findings.