[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-04 Thread dhcolo
Thank, Mr. Peter Johnson, I have solved all problems. My application is working. thanks for your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134009#4134009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=413400

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-04 Thread dhcolo
Sorry, here is my code for war | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133977#4133977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-04 Thread dhcolo
Thanks, Sir, I am getting closer. Now Jboss can find my class file and run my class file. It is also indicates it has been able to make MS SQL server connection. The only problem is ii can not find my jsp file and a property file. I check the war file and found the pass of jsp file and property

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-03 Thread PeterJ
anonymous wrote : Make sure you surround the contents with [ code ]...[ /code ] brackets (without the spaces), and preview your post before submitting (raw xml content will not post correctly). In your war file, the classes directory is in the wrong location, it should be in WEB-INF. Ditto for

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-03 Thread dhcolo
Sorry, this my build.xml

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-03 Thread dhcolo
This is my war file: META-INF/ META-INF/MANIFEST.MF classes/ classes/com/ classes/com/tmg/ classes/com/tmg/servlets/ lib/ src/ src/com/ src/com/tmg/ src/com/tmg/servlets/ classes/com/tmg/servlets/FileNetServlet.class classes/com/tmg/servlets/HelloWorld.class filenet.properties lib/log4j-1.2.15.ja

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-03 Thread PeterJ
The jar command is in JAVA_HOME/bin, make sure that is in your PATH. Place the JAR file containing the JDBC driver into the server/xxx/lib directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133723#4133723 Reply to the post : http://www.jboss.com/index

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-03 Thread dhcolo
Thanks, Sir, Now I can see the HelloWorld example after modifying the build.xml. But I still can not see my own application which invokes MS SQL server. The meesage I have is : 2008-03-03 12:28:21,156 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: com.microsoft.jdbc

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-03 Thread PeterJ
I know you cannot attach the war file, that is why I told you to run the jar utility and post its output. Please do so. If the list of files you gave is accurate, then your war file is not built correctly. Also, please post the contents of web.xml. Make sure you surround the contents with [ cod

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-03 Thread dhcolo
I can not attach my war file. here are containts of my war file: HelloWorld.class HelloWorld.java web.xml Manifest.mf ( idon't know where is this file came from. I did not have that file) That's it. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=413

[jboss-user] [Beginners Corner] - Re: war file deployed is notworking!!

2008-03-03 Thread PeterJ
Please post the contents of you war file. Do this: jar -tf xxx.war and post the results. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133676#4133676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133676