Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running JSPs in JBoss

 
Smitha Ajay
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a war which is running correctly in TOmcat.
When i use JBoss,i am unable to get the welcome jsp file to display - i get the below error - i am unable to figure out why :
Can anyone suggest a solution...i looked at similar postings in this forum but was unable to find an answer...
Any help is appreciated.
Thanks
Smitha
ERROR AS BELOW:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
 
Anh Quang Le
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
You must copy file.jars from jboss\client to tomcat\shared\lib
They are:
jboss-j2ee.jar
jnp-client.jar
jboss-client.jar
jbosssx-client.jar
jboss-common-client.jar
log4j.jar
Good luck
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic