you need to let the build file create the jar that the java file is in.
then replace the jar file on the server.

Madhuri sent the following on 6/6/2008 2:08 PM:
> 
> Hi Jacques - I did not compile the java class on the server. I only compiled
> it on my local machine and replaced the class file on the server. Do I have
> to run compile (run ant) on server ? I restarted ofbiz on server. I am not
> using tomcat as external application server. 
> 
> Your help is much appreciated...
> 
> Thanks Much,
> Maddy
> 
> 
> 
> 
> jacques.le.roux wrote:
>> Did you recompile on server (I know it's may seem a dumb question, but you
>> did not express it clearly in your mail) or copy the jar 
>> file containing the class?
>> Also did you restart OFBiz ? Or are you using Tomcat as an external
>> application sever ?
>>
>> Jacques
>>
>> From: "Madhuri" <[EMAIL PROTECTED]>
>>> Hi - I am new to ofbiz and need some help with code change in a java
>>> class.
>>> I changed the java file CheckoutEvents.java to suit my requirements and
>>> it
>>> works fine on my local machine. I replaced the class file on the
>>> production
>>> server and re-started tomcat, however it does not seem to accept the new
>>> class file. Can anyone please advice on what is going wrong. Is this
>>> class
>>> cached somewhere ??
>>>
>>> Thanks Much,
>>> Maddy
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Java-Class-file-change-on-server-tp17699402p17699402.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>>
> 

Reply via email to