This may be a stupid question, but I'm new to JBoss and have the following question. I have built a basic servlet/JSP web application and currently run it through Tomcat 5. I built it by hand (I did not use Ant) by building, compiling, and copying the files manually to the appropriate Tomcat directories (yes, it's a small app). My question is: what's the best way to migrate this app to JBoss? I know that JBoss has Tomcat 5 "built in", but I can't seem to find any resources on migrating applications that were not built by Ant and do not involve EJBs.
Can someone recommend any sites or books that will guide me through this? I'm assuming the process is fairly easy, but I need something that doesn't assume the usage of Ant.
Also, Ant is just a build tool, not related to anything else or causes you applicaiton to be any different than if you do those steps manually or use some other build tool.
I have good news and bad news. The good news is that the application is running (thanks for all the advice - it worked). I'm able to log into the MySQL database for authentication and see the main screen; however, (bad news) when I try to do process any updates to the data, I get the following error:
In my java code, I do some date conversions where the valueOf function came in handy. I get this error in JBoss, but when I run the application with Tomcat alone, the updates process without error.
Note: I did follow the JBoss "Get Started" instructions where I created a data source file called mysql-ds.xml which is stored in the default\deploy directory and I put the mysql-connector-java-3.1.12-bin.jar file in the default\lib directory.
Is there anything else I need to setup? Could this be a AS-related classpath issue?
Again, thanks in advance! Scott
Scott Updike
Ranch Hand
Joined: Feb 16, 2006
Posts: 92
posted
0
Please ignore my last post; I figured out my issue. I did not include the javascript files in my war file.