Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Trubine development kit with tomcat??

Status
Not open for further replies.

Inandjo

Programmer
Dec 7, 2001
46
FR
hi,

i wanted to get an app developped under Turbine Development Kit 2.1 to run under tomcat 4.0( running as a service!).
I couldn't find tomcat 4.0 so i had to get 4.1.29, installed it then tryed to copy everything from
tdk2.1\webapps\myapp_name\WEB-INF\ to tomcat4.1.29\webapps\myapp_name.
It didn't work, because of the screens that were not placed in the proper location.
Now i would like to know where i have to copy the screens that can be found under
tdk2.1\webapps\myapp_nametemplates\app in the newly installed tomcat??

I would like to know what i have to do to get my app running under tomcat bearing in mind that i use velocity for my interface??

La faim justifie les moyens!
 
Hi,

You have uploaded the webapplication into the right directory. All you need to make sure that you have all the required .jar files in your << myapp_name>>/WEB-INF/lib dir.
If you are using velocity then you need to have the required jar files of velocity too.

Cheers,
Venu
 
thanx venu,

i hav all the required libs in the myapp_name/web-inf/lib folder.
I was using TDK so i just copied the directory under
tdk/webapps/myapp_name to tomcat/webapps/myapp_name.
I even tried to put a war file of the webapp in the tomcat webapps folder: still, it didn't work out!

La faim justifie les moyens!
 
Hi,

I have't worked with turbine, so I am really not sure how the structure of your webapplicaion is. As far tomcat the webappliction the dir structure shouled be

<myapp_name>
>> Place all your JSP pages
<myapp_name>/WEB-INF
>> All required config files if any
>> web.xml
<myapp_name>/WEB-INF/lib
>> All the required jar files
<myapp_name>/WEB-INF/classes
>> All the required java files

Hope this will help you. Can you tell us is there any kind of exception does the tomcat is throwing ?
If you look at the log folder under tomcat you can find the log files it might hlep.

Cheers,
Venu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top