Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 10th, 2003, 07:10 AM
canobi canobi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 5 canobi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
JSP, Tomcat, and JBoss problemo!

Good day. How is everyone doing? I've got a problem with Tomcat 4 on my system (WinXP). When I use JSPs for JavaBeans I don't seem to have any problems. However, using EJB's is a nightmare I hope I can wake up from.

I installed JBoss 2.4.4 and it runs fine. I deployed a .jar file from the server. When I use a simple Java client to access the bean it runs OK. But when I use a similar JSP page I get the following Tomcat error(Please bear with the length):


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.

C:\Program Files\jwsdp1_0_01\work\Standard Engine\localhost\myJSPApp\BeanClient$jsp.java:0: Class javax.ejb.EJBHome not found in interface com.junostar.ejb.AdderHome.
package org.apache.jsp;
^

C:\Program Files\jwsdp1_0_01\work\Standard Engine\localhost\myJSPApp\BeanClient$jsp.java:0: Class javax.ejb.EJBObject not found in interface com.junostar.ejb.Adder.
package org.apache.jsp;
^


An error occurred between lines: 7 and 27 in the jsp file: /BeanClient.jsp

Generated servlet error:
C:\Program Files\jwsdp1_0_01\work\Standard Engine\localhost\myJSPApp\BeanClient$jsp.java:84: Class javax.ejb.CreateException not found in try.
try{
^
3 errors, 1 warning

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
......and it goes on and on


I thought this problem was a CLASSPATH problem, something with the environment setting, but nothing I do seems to work. I would really appreciate any help you can give me. Thanks a lot.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > JSP, Tomcat, and JBoss problemo!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway