|
What is APP-INF folder ? If its just
another folder.. then that need to be in the classpath.
WEB-INF/lib comes with AXIS/Tomcat
where the application will search for the class/jar files automatically once the
TOMCAT_HOME is specified.
Dhanush Gopinath Software Engineer Mahindra British Telecom Ltd
+91-020-4018100 Ext:-1218
----- Original Message -----
Sent: Thursday, June 24, 2004 12:24
AM
Subject: RE: import statements
Sorry
for not being clear.
When my jar file was in APP-INF/lib axis could
not use this to compile my file. But when I moved it to WEB-INF/lib it
compiled nicely. What do I do to axix see my jar file in
APP-INF/lib?
Pradipta
-----Original
Message----- From: Venkatesh Kancharla
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 1:41
PM To: [EMAIL PROTECTED] Subject:
RE: import statements
Iam not sure I understood your question
properly. If you are asking why your web server is not loading classes/jar
files which are in APP-INF directory, then the answer would be:
your
web server loads only those classes which are at APP-INF/classes
or APP-INF/lib but not APP-INF.
regards Venkatesh
On Wed,
23 Jun 2004, Pradipta Mishra wrote:
> Thanks. It worked. >
> We have all the jar files APP-INF including axix ones. Why do I
not see > the jar files in APP_INF. > >
Pradipta > > -----Original Message----- > From: Venkatesh
Kancharla [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June
23, 2004 6:25 AM > To: [EMAIL PROTECTED] >
Subject: Re: import statements > > Hi Pradipta, > You need
to place all the classes which are required by jws file > in
WEB-INF/classes (if its classes) or in WEB-INF/lib (if its
jar file). > > regards > Venkatesh > > On
Tue, 22 Jun 2004, Pradipta Mishra wrote: > > > >
> > > When I create Calculator.jws at the same level as
that of jsp pages I > am > > able to create WSDL. This has
no import statements. Now I create > another > > file
Restriction.jws which has import statements. The same file with > >
.java extension works fine in my java application. But when I try to >
> create WSDL for Restriction.jws, it gives the following error.
I need > > help on how to handle this. > > > >
AXIS error > > > > Sorry, something seems to have gone
wrong... here are the details: > > Fault - Error while
compiling: >
> > C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE >
> B-INF\jwsClasses\Restriction.java > > > > >
> > > > > AxisFault > > faultCode:
{http://xml.apache.org/axis/}Server.compileError > >
faultSubcode: > > faultString: Error while compiling: >
> > C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE >
> B-INF\jwsClasses\Restriction.java > > faultActor: >
> faultNode: > > faultDetail: >
> {}Errors: Error compiling >
> > C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE >
> B-INF\jwsClasses\Restriction.java: > > Line 0, column 0: could
not parse error message: Note: > > sun.tools.javac.Main has
been deprecated. >
> > C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE >
> B-INF\jwsClasses\Restriction.java:3: Class > >
com.iits.pulsar.vo.security.UserToken not found in import. > > import
com.iits.pulsar.vo.security.UserToken; >
> ^ > > >
> Line 4, column 7: Class com.iits.pulsar.vo.EntityKey not found
in > > import. > > Line 5, column 7: Class >
> com.iits.cosmos.app.delegate.CosmosBusinessRuleDelegate not found
in > > import. > > Line 0, column 0: > > 3 errors,
1 warning > > > > > >
Pradipta > > > > > > >
*********************************************************
Disclaimer:
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com
|
|