otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Development Developing Custom Code and Frameworks for OTM in order to extend the functionality. (Note: Does NOT include XSL/CSS Customization - that is within the "Branding, Screen Sets, XSL/CSS and Translations" section above.)

Tags: ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 30th, 2008, 12:10
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
naveens is on a distinguished road
Where to upload custom classes

Hi,

I have developed a custom servlet, which we are calling from OTM. This custom servlet is referring to a custom utility class, Where should I upload this custom class .. ?

I have uploaded it into D:\otm\glog\gc3webapp\WEB-INF\classes\ , But it is throwing class not found error ..

There is also a .properties file which I have uploaded to classes directory .. Please let me know if I am doing wrong ..

Thanks,
Naveen S
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old June 30th, 2008, 12:48
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 215
Thanks: 0
Thanked 31 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1
nick.polites is on a distinguished road
Re: Where to upload custom classes

Besides this being very unsupported and may risk problems, you can open up your glogserver.jar file and add the class file in there. You'll need to restart OTM afterwards. Also when you patch OTM, you'll need to reapply the class file to the jar file.


The other way by putting it in the otm/glog/gc3webapp/WEB-INF/classes/glog/webserver.... can be done but you need to know the exact folders to put it into.

I don't know what you are doing with the properties file but that needs to go into the glog.properties not in the jar file.
__________________
MavenWire Hosting Admin
The Oracle OTM / G-Log GC3 Experts
Offering Incubator and Production OTM instances
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old August 14th, 2008, 09:30
Member
 
Join Date: May 2007
Location: India
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
sknmail@rediffmail.com is on a distinguished road
Send a message via Yahoo to sknmail@rediffmail.com
Re: Where to upload custom classes

Hi Nick and Naveen,

As said by Nick I also agree that the approach taken by Naveen is not advisable, however for the sake of completion of Naveen's configuration for the custom class to be recognizable by OTM, you need to put some entry in web.xml located in $OTM_HOME/glog/gc3webapp/WEB-INF folder.

However Naveen as per my understanding, after every application of OTM patches, you may have to reconfirm the entries for your class are present in web.xml

I hope this information may help you.

Regards,
Suresh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload an XML/CSV Transmission problem pmalin Integration and Data Mapping 3 July 2nd, 2008 08:53
Issue with 'Upload an XML/CSV Transmission' sgshah Data Loading 0 February 18th, 2008 23:05
Document Upload Vinod Data Loading 2 November 14th, 2007 04:17
[SOLVED] Order Release Upload Via CSV Template Dilday Stephen Email List Archive 0 October 16th, 2007 03:12
Data upload error engyeowkee Data Loading 2 July 2nd, 2007 09:50



All times are GMT. The time now is 13:12.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37