You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Polliard <tp...@aol.com> on 2005/06/03 20:48:25 UTC

Confusion Land

So I am running Tomcat 5.5.9
I have a jsp page that imports com.polliard.db.RaidDB;
It also has a line that invokes a new instance of this class
RaidDB rdb = new RaidDB();

The code works on Jetty but when used with Tomcat I am getting the error
RaidDB cannot be resolved or is not a type.  

Any Ideas???

The class is located in the WEB-INF/classes/com/polliard/db/RaidDB directory
under the deployed application.

Any help would be great.
 --
Thomas Polliard
Sr. Systems Administrator, AOL
tpolliard04@aol.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Confusion Land

Posted by Mark Thomas <ma...@apache.org>.
Thomas Polliard wrote:
> So I am running Tomcat 5.5.9
> I have a jsp page that imports com.polliard.db.RaidDB;
> It also has a line that invokes a new instance of this class
> RaidDB rdb = new RaidDB();
> 
> The code works on Jetty but when used with Tomcat I am getting the error
> RaidDB cannot be resolved or is not a type.  
> 
> Any Ideas???
> 
> The class is located in the WEB-INF/classes/com/polliard/db/RaidDB directory
> under the deployed application.
Shouldn't it be in the WEB-INF/classes/com/polliard/db directory?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Confusion Land

Posted by Tim Diggins <su...@red56.co.uk>.
Have you tried reloading the webapp / restarting tomcat?

If you're new to tomcat, then I suggest you give a few more details of 
where the webapp is, and where the jsp page is, and/or how you deployed 
the web-app, just in case these give a clue.



Thomas Polliard wrote:
> It is located there.  Sorry the location is as you wrote. I was unclear.
> WEB-INF/classes/com/polliard/db/ Contains RaidDB.class
> 
> Thanks 
> 
> 
>  --
> Thomas Polliard
> Sr. Systems Administrator, AOL
> tpolliard04@aol.com
> -----Original Message-----
> From: Scott Dudley [mailto:scott@telesoft.com] 
> Sent: Friday, June 03, 2005 2:52 PM
> To: Tomcat Users List
> Subject: Re: Confusion Land
> 
> 
> Unless I misunderstood, RaidDB.class should be located in directory
> WEB-INF/classes/com/polliard/db and not
> WEB-INF/classes/com/polliard/db/RaidDB.
> 
> Thomas Polliard wrote:
> 
> 
>>So I am running Tomcat 5.5.9
>>I have a jsp page that imports com.polliard.db.RaidDB; It also has a 
>>line that invokes a new instance of this class RaidDB rdb = new 
>>RaidDB();
>>
>>The code works on Jetty but when used with Tomcat I am getting the 
>>error RaidDB cannot be resolved or is not a type.
>>
>>Any Ideas???
>>
>>The class is located in the WEB-INF/classes/com/polliard/db/RaidDB 
>>directory under the deployed application.
>>
>>Any help would be great.
>>--
>>Thomas Polliard
>>Sr. Systems Administrator, AOL
>>tpolliard04@aol.com
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>> 
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Confusion Land

Posted by Thomas Polliard <tp...@aol.com>.
 From the deployed location of Raid

./login.jsp
./menu.jsp
./index.jsp.old
./WEB-INF
./WEB-INF/classes
./WEB-INF/classes/com
./WEB-INF/classes/com/polliard
./WEB-INF/classes/com/polliard/db
./WEB-INF/classes/com/polliard/db/RaidDB.class
./WEB-INF/lib
./WEB-INF/lib/postgresql-jdbc.jar
./index.jsp
./images
./images/space.gif
./raid.css
./header.jsp

 --
Thomas Polliard
Sr. Systems Administrator, AOL
tpolliard04@aol.com
-----Original Message-----
From: Thomas Polliard [mailto:tpolliard04@aol.com] 
Sent: Friday, June 03, 2005 2:55 PM
To: 'Tomcat Users List'
Subject: RE: Confusion Land

It is located there.  Sorry the location is as you wrote. I was unclear.
WEB-INF/classes/com/polliard/db/ Contains RaidDB.class

Thanks 


 --
Thomas Polliard
Sr. Systems Administrator, AOL
tpolliard04@aol.com
-----Original Message-----
From: Scott Dudley [mailto:scott@telesoft.com]
Sent: Friday, June 03, 2005 2:52 PM
To: Tomcat Users List
Subject: Re: Confusion Land


Unless I misunderstood, RaidDB.class should be located in directory
WEB-INF/classes/com/polliard/db and not
WEB-INF/classes/com/polliard/db/RaidDB.

Thomas Polliard wrote:

>So I am running Tomcat 5.5.9
>I have a jsp page that imports com.polliard.db.RaidDB; It also has a 
>line that invokes a new instance of this class RaidDB rdb = new 
>RaidDB();
>
>The code works on Jetty but when used with Tomcat I am getting the 
>error RaidDB cannot be resolved or is not a type.
>
>Any Ideas???
>
>The class is located in the WEB-INF/classes/com/polliard/db/RaidDB 
>directory under the deployed application.
>
>Any help would be great.
> --
>Thomas Polliard
>Sr. Systems Administrator, AOL
>tpolliard04@aol.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

-- 

Regards,

Scott Dudley


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Confusion Land

Posted by Thomas Polliard <tp...@aol.com>.
It is located there.  Sorry the location is as you wrote. I was unclear.
WEB-INF/classes/com/polliard/db/ Contains RaidDB.class

Thanks 


 --
Thomas Polliard
Sr. Systems Administrator, AOL
tpolliard04@aol.com
-----Original Message-----
From: Scott Dudley [mailto:scott@telesoft.com] 
Sent: Friday, June 03, 2005 2:52 PM
To: Tomcat Users List
Subject: Re: Confusion Land


Unless I misunderstood, RaidDB.class should be located in directory
WEB-INF/classes/com/polliard/db and not
WEB-INF/classes/com/polliard/db/RaidDB.

Thomas Polliard wrote:

>So I am running Tomcat 5.5.9
>I have a jsp page that imports com.polliard.db.RaidDB; It also has a 
>line that invokes a new instance of this class RaidDB rdb = new 
>RaidDB();
>
>The code works on Jetty but when used with Tomcat I am getting the 
>error RaidDB cannot be resolved or is not a type.
>
>Any Ideas???
>
>The class is located in the WEB-INF/classes/com/polliard/db/RaidDB 
>directory under the deployed application.
>
>Any help would be great.
> --
>Thomas Polliard
>Sr. Systems Administrator, AOL
>tpolliard04@aol.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

-- 

Regards,

Scott Dudley


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Confusion Land

Posted by Scott Dudley <sc...@telesoft.com>.
Unless I misunderstood, RaidDB.class should be located in directory 
WEB-INF/classes/com/polliard/db and not 
WEB-INF/classes/com/polliard/db/RaidDB.

Thomas Polliard wrote:

>So I am running Tomcat 5.5.9
>I have a jsp page that imports com.polliard.db.RaidDB;
>It also has a line that invokes a new instance of this class
>RaidDB rdb = new RaidDB();
>
>The code works on Jetty but when used with Tomcat I am getting the error
>RaidDB cannot be resolved or is not a type.  
>
>Any Ideas???
>
>The class is located in the WEB-INF/classes/com/polliard/db/RaidDB directory
>under the deployed application.
>
>Any help would be great.
> --
>Thomas Polliard
>Sr. Systems Administrator, AOL
>tpolliard04@aol.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

-- 

Regards,

Scott Dudley


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org