You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dennis Meerveld <de...@cognicase.nl> on 2001/04/02 07:00:03 UTC

RE: I don't get it...

John,

Don't really know what you mean.
But a class (.class-file) is all you need, you don't *need* the .java
and recompile that. All you had to do was to address the actual bean in the
jar
(as I thought you could now do). WORA does work... :)

Well, it worked for you anyway.. ;-)

Byebye

Dennis

-----Original Message-----
From: John Towell [mailto:jtowell@cscexchange.cc.edu]
Sent: Friday, March 30, 2001 6:00 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: I don't get it...


Dennis

Thanks for your answer.

In this case I had the liberty of having the .java file which I could bring
in and recompile - but what if it had been a proprietary bean class?  ... so
much for write once- run anywhere ... heh

John

-----Original Message-----
From: Dennis Meerveld
To: 'tomcat-user@jakarta.apache.org'
Sent: 3/30/01 12:52 AM
Subject: RE: I don't get it...

Hi,

I'm fairly new to Tomcat, but by bringing in a Bean class, do you mean
addressing
it in a JSP ? If so, be sure your <%@ page import =
"oracle.sqlj.runtime.Oracle" %>
is specified. 

If you're running it as a servlet, verify the import statement is
included.

Hope this helps.. :)

Dennis

-----Original Message-----
From: John Towell [mailto:jtowell@cscexchange.cc.edu]
Sent: Thursday, March 29, 2001 6:43 PM
To: 'tomcat-user@jakarta.apache.org'
Cc: 'jtowell@cc.edu'
Subject: I don't get it...


I bring in a Bean class that imports an oracle class that's not on my
tomcat
server, so I get a:
'Class oracle.sqlj.runtime.Oracle not found in import.' error

OK - so I bring in the appropriate jar file and put it in
$TOMCAT_HOME/lib
and restart tomcat.  I look at messages and tomcat has reported the
classpath as including the newly added jar files.  

But when I rerun the Bean class, I'm still getting the same 'not found
in
import' error.

If tomcat knows the jar file is there, how can it not be finding the
imported class file? 

What am I missing here?

Thanks - John