Users - Any updates about JDK 1.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - Any updates about JDK 1.5

Brad Plies
Hi everyone,

I cannot recall or find any recent discussion about successfully running
OFBIZ (or porting OFBIZ to) JDK 1.5.  The last thing I found was this:

http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which went
unanswered)

What are the current reasons that OFBIZ cannot be run with JDK 1.5?  Is
there any interest in upgrading OFBIZ sources to use
updated/newer/better classes & packages?

The reason I ask is that much of my code relies on the excellent
concurrency tools provided in JDK 1.5's java.util.concurrent package
which I believe offers a lot of standardized advantages to managing and
scheduling executable tasks.

I'm not advocating an upgrade just for the newness of it all, I'm just
trying to gather comments about the status.

Brad
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

Si Chen-2
Hey glad you wrote in: somebody claims to have figured out how to do it:
http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771

Want to see if it works?

Si

Brad wrote:

> Hi everyone,
>
> I cannot recall or find any recent discussion about successfully running
> OFBIZ (or porting OFBIZ to) JDK 1.5.  The last thing I found was this:
>
> http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which went
> unanswered)
>
> What are the current reasons that OFBIZ cannot be run with JDK 1.5?  Is
> there any interest in upgrading OFBIZ sources to use
> updated/newer/better classes & packages?
>
> The reason I ask is that much of my code relies on the excellent
> concurrency tools provided in JDK 1.5's java.util.concurrent package
> which I believe offers a lot of standardized advantages to managing and
> scheduling executable tasks.
>
> I'm not advocating an upgrade just for the newness of it all, I'm just
> trying to gather comments about the status.
>
> Brad
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
>
>  

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

Lei Gao-2
Great job. This way we can try to deploy OFBIZ to latest JDK1.5 based Server.

Lei



On 3/21/06, Si Chen <[hidden email]> wrote:
Hey glad you wrote in: somebody claims to have figured out how to do it:
http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771

Want to see if it works?

Si

Brad wrote:

> Hi everyone,
>
> I cannot recall or find any recent discussion about successfully running
> OFBIZ (or porting OFBIZ to) JDK 1.5.  The last thing I found was this:
>
> http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which went
> unanswered)
>
> What are the current reasons that OFBIZ cannot be run with JDK 1.5?  Is
> there any interest in upgrading OFBIZ sources to use
> updated/newer/better classes & packages?
>
> The reason I ask is that much of my code relies on the excellent
> concurrency tools provided in JDK 1.5's java.util.concurrent package
> which I believe offers a lot of standardized advantages to managing and
> scheduling executable tasks.
>
> I'm not advocating an upgrade just for the newness of it all, I'm just
> trying to gather comments about the status.
>
> Brad
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
>
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

David E. Jones

That is good to know, ie that in the latest JOTM and Carol Java 1.5 is supported.

This is going to be complicated by the fact that we really need to move to something else for the Apache move because of licensing issues... We are considering right now going with Geronimo, and I'm not sure if Geronimo will run on Java 1.5...

-David


Lei Gao wrote:

> Great job. This way we can try to deploy OFBIZ to latest JDK1.5 based
> Server.
>
> Lei
>
>
>
> On 3/21/06, *Si Chen* < [hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hey glad you wrote in: somebody claims to have figured out how to do
>     it:
>     http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771
>     <http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771>
>
>     Want to see if it works?
>
>     Si
>
>     Brad wrote:
>      > Hi everyone,
>      >
>      > I cannot recall or find any recent discussion about successfully
>     running
>      > OFBIZ (or porting OFBIZ to) JDK 1.5.  The last thing I found was
>     this:
>      >
>      > http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which
>     went
>      > unanswered)
>      >
>      > What are the current reasons that OFBIZ cannot be run with JDK
>     1.5?  Is
>      > there any interest in upgrading OFBIZ sources to use
>      > updated/newer/better classes & packages?
>      >
>      > The reason I ask is that much of my code relies on the excellent
>      > concurrency tools provided in JDK 1.5's java.util.concurrent package
>      > which I believe offers a lot of standardized advantages to
>     managing and
>      > scheduling executable tasks.
>      >
>      > I'm not advocating an upgrade just for the newness of it all, I'm
>     just
>      > trying to gather comments about the status.
>      >
>      > Brad
>      >
>      > _______________________________________________
>      > Users mailing list
>      > [hidden email] <mailto:[hidden email]>
>      > http://lists.ofbiz.org/mailman/listinfo/users
>      >
>      >
>      >
>
>
>     _______________________________________________
>     Users mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://lists.ofbiz.org/mailman/listinfo/users
>
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

Brett
In reply to this post by Si Chen-2
Si,

Thanks for the post.  This sounds a lot easier than moving to Geronimo
right now.

Brett

> On 3/21/06, Si Chen <[hidden email]> wrote:
> Hey glad you wrote in: somebody claims to have figured out how to do it:
> http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771
>
> Want to see if it works?
>
> Si
>
> Brad wrote:
> > Hi everyone,
> >
> > I cannot recall or find any recent discussion about successfully running
> > OFBIZ (or porting OFBIZ to) JDK 1.5.  The last thing I found was this:
> >
> > http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which went
> > unanswered)
> >
> > What are the current reasons that OFBIZ cannot be run with JDK 1.5?  Is
> > there any interest in upgrading OFBIZ sources to use
> > updated/newer/better classes & packages?
> >
> > The reason I ask is that much of my code relies on the excellent
> > concurrency tools provided in JDK 1.5's java.util.concurrent package
> > which I believe offers a lot of standardized advantages to managing and
> > scheduling executable tasks.
> >
> > I'm not advocating an upgrade just for the newness of it all, I'm just
> > trying to gather comments about the status.
> >
> > Brad
> >
> > _______________________________________________
> > Users mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/users
> >
> >
> >
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

Si Chen-2
Hey everybody -

Just so you know I actually haven't tried this myself and would like to know your experiences with it.

Si

Brett Palmer wrote:
Si,

Thanks for the post.  This sounds a lot easier than moving to Geronimo
right now.

Brett

  
On 3/21/06, Si Chen [hidden email] wrote:
Hey glad you wrote in: somebody claims to have figured out how to do it:
http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771

Want to see if it works?

Si

Brad wrote:
    
Hi everyone,

I cannot recall or find any recent discussion about successfully running
OFBIZ (or porting OFBIZ to) JDK 1.5.  The last thing I found was this:

http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which went
unanswered)

What are the current reasons that OFBIZ cannot be run with JDK 1.5?  Is
there any interest in upgrading OFBIZ sources to use
updated/newer/better classes & packages?

The reason I ask is that much of my code relies on the excellent
concurrency tools provided in JDK 1.5's java.util.concurrent package
which I believe offers a lot of standardized advantages to managing and
scheduling executable tasks.

I'm not advocating an upgrade just for the newness of it all, I'm just
trying to gather comments about the status.

Brad

_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users



      
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

    
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users


  

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

Lei Gao-2
Hi Si,

I was trying to follow the steps in that post, one thing I did not figure out is what dose he mean by following step:

"
Change the JotmContainer.java in the  
framework/jotm component, change the config part to  
 
URL resource = Thread.currentThread().getContextClassLoader().getResource( carolPropName); 
ConfigurationRepository.init( resource); 
NameServiceManager.startNS();

"

Where should I add these few lines of code? Can you share me some of your idea?

Thanks
Lei





On 3/22/06, Si Chen <[hidden email]> wrote:
Hey everybody -

Just so you know I actually haven't tried this myself and would like to know your experiences with it.

Si


Brett Palmer wrote:
Si,

Thanks for the post. This sounds a lot easier than moving to Geronimo
right now.

Brett

On 3/21/06, Si Chen [hidden email] wrote:
Hey glad you wrote in: somebody claims to have figured out how to do it:
<a href="http://sourceforge.net/forum/forum.php?thread_id=1465209&amp;forum_id=487771" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771 Want to see if it works? Si Brad wrote:
Hi everyone,

I cannot recall or find any recent discussion about successfully running
OFBIZ (or porting OFBIZ to) JDK 1.5. The last thing I found was this:

<a href="http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which went
unanswered)

What are the current reasons that OFBIZ cannot be run with JDK 1.5? Is
there any interest in upgrading OFBIZ sources to use
updated/newer/better classes & packages?

The reason I ask is that much of my code relies on the excellent
concurrency tools provided in JDK 1.5's java.util.concurrent package
which I believe offers a lot of standardized advantages to managing and
scheduling executable tasks.

I'm not advocating an upgrade just for the newness of it all, I'm just
trying to gather comments about the status.

Brad

_______________________________________________
Users mailing list
[hidden email] <a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email] <a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email] <a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/users



 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

Si Chen-2
Why don't you ask on the sourceforge.net post?  Si

Lei Gao wrote:
Hi Si,

I was trying to follow the steps in that post, one thing I did not figure out is what dose he mean by following step:

"
Change the JotmContainer.java in the  
framework/jotm component, change the config part to  
 
URL resource = Thread.currentThread().getContextClassLoader().getResource( carolPropName); 
ConfigurationRepository.init( resource); 
NameServiceManager.startNS();

"

Where should I add these few lines of code? Can you share me some of your idea?

Thanks
Lei





On 3/22/06, Si Chen <[hidden email]> wrote:
Hey everybody -

Just so you know I actually haven't tried this myself and would like to know your experiences with it.

Si


Brett Palmer wrote:
Si,

Thanks for the post.  This sounds a lot easier than moving to Geronimo
right now.

Brett

  
On 3/21/06, Si Chen [hidden email] wrote:
Hey glad you wrote in: somebody claims to have figured out how to do it:

<a
 href="http://sourceforge.net/forum/forum.php?thread_id=1465209&amp;forum_id=487771"
 target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771


Want to see if it works?

Si

Brad wrote:
    
Hi everyone,

I cannot recall or find any recent discussion about successfully running
OFBIZ (or porting OFBIZ to) JDK 1.5.  The last thing I found was this:

<a href="http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html"
 target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which went
unanswered)

What are the current reasons that OFBIZ cannot be run with JDK 1.5?  Is
there any interest in upgrading OFBIZ sources to use

updated/newer/better classes & packages?

The reason I ask is that much of my code relies on the excellent
concurrency tools provided in JDK 1.5's java.util.concurrent package
which I believe offers a lot of standardized advantages to managing and

scheduling executable tasks.

I'm not advocating an upgrade just for the newness of it all, I'm just
trying to gather comments about the status.

Brad

_______________________________________________

Users mailing list
[hidden email]
<a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users



      
_______________________________________________
Users mailing list
[hidden email]
<a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users

    
 
_______________________________________________
Users mailing list
[hidden email]

<a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users


  


_______________________________________________
Users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank">http://lists.ofbiz.org/mailman/listinfo/users



_______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

Lei Gao-2
Alright, I just put a question in that forum, hope he can come back to look at it.

Thanks

Lei

On 3/22/06, Si Chen <[hidden email]> wrote:
Why don't you ask on the <a href="http://sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sourceforge.net post?  Si

Lei Gao wrote:
Hi Si,

I was trying to follow the steps in that post, one thing I did not figure out is what dose he mean by following step:

"
Change the JotmContainer.java in the  
framework/jotm component, change the config part to  
 
URL resource = Thread.currentThread().getContextClassLoader().getResource( carolPropName); 
ConfigurationRepository.init( resource); 
NameServiceManager.startNS();

"

Where should I add these few lines of code? Can you share me some of your idea?

Thanks
Lei





On 3/22/06, Si Chen <[hidden email]> wrote:
Hey everybody -

Just so you know I actually haven't tried this myself and would like to know your experiences with it.

Si


Brett Palmer wrote:
Si,

Thanks for the post. This sounds a lot easier than moving to Geronimo
right now.

Brett

On 3/21/06, Si Chen [hidden email] wrote:
Hey glad you wrote in: somebody claims to have figured out how to do it:

<a href="http://sourceforge.net/forum/forum.php?thread_id=1465209&amp;forum_id=487771" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771
Want to see if it works? Si Brad wrote:
Hi everyone,

I cannot recall or find any recent discussion about successfully running
OFBIZ (or porting OFBIZ to) JDK 1.5. The last thing I found was this:

<a href="http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://lists.ofbiz.org/pipermail/dev/2005-June/008746.html (Which went
unanswered)

What are the current reasons that OFBIZ cannot be run with JDK 1.5? Is
there any interest in upgrading OFBIZ sources to use

updated/newer/better classes & packages?

The reason I ask is that much of my code relies on the excellent
concurrency tools provided in JDK 1.5's java.util.concurrent package
which I believe offers a lot of standardized advantages to managing and

scheduling executable tasks.

I'm not advocating an upgrade just for the newness of it all, I'm just
trying to gather comments about the status.

Brad

_______________________________________________

Users mailing list
[hidden email] <a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email] <a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email] <a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
<a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users



_______________________________________________ Users mailing list [hidden email] <a href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.ofbiz.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/users" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/users



 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Any updates about JDK 1.5

Brad Plies
In reply to this post by Brad Plies
Hi Folks,

I'm just reporting that I have followed the suggested steps provided by that user on the SourceForge forum.  I get a successful clean compile, but OFBIZ cannot start.  It has similar error messages in the JOTM area as if you were simply to run the latest SVN with JDK 1.5 without upgrading the JOTM & Carol JARS.

ant run-install
     [java] Exception in thread "main" java.lang.NoSuchMethodError: sun.rmi.transport.ObjectTable.getStub(Ljava/rmi/Remote;)Ljava/rmi/server/RemoteStub;
     [java]     at org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject.unexportObject(JUnicastRemoteObject.java:138)
     [java]     at org.objectweb.carol.rmi.multi.JrmpPRODelegate.unexportObject(JrmpPRODelegate.java:107)
     [java]     at org.objectweb.carol.rmi.multi.MultiPRODelegate.unexportObject(MultiPRODelegate.java:107)
     [java]     at javax.rmi.PortableRemoteObject.unexportObject(PortableRemoteObject.java:119)
     [java]     at org.objectweb.jotm.SubCoordinator.doAfterCompletion(SubCoordinator.java:1584)


startofbiz
CAROL Error:Cannot instantiate registry class 'org.objectweb.carol.jndi.ns.JacORBCosNaming '
java.lang.ClassNotFoundException: org.objectweb.carol.jndi.ns.JacORBCosNaming
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

The updated JARS are in the classpath as far as I can tell, and do in fact contain the so-called missing class of
'org.objectweb.carol.jndi.ns.JacORBCosNaming'

Perhaps a few steps were omitted in that persons description, or perhaps a dependency on some different RMI specification somewhere, but so far I haven't got it to work yet.

Brad

 
Lei Gao wrote:

> Alright, I just put a question in that forum, hope he can come back to look
> at it.
>
> Thanks
>
> Lei
>
> On 3/22/06, Si Chen <[hidden email]> wrote:
>  
>> Why don't you ask on the sourceforge.net post?  Si
>>
>> Lei Gao wrote:
>>
>> Hi Si,
>>
>> I was trying to follow the steps in that post, one thing I did not figure
>> out is what dose he mean by following step:
>>
>> "
>> Change the JotmContainer.java in the
>> framework/jotm component, change the config part to
>>
>> URL resource = Thread.currentThread().getContextClassLoader().getResource(
>> carolPropName);
>> ConfigurationRepository.init( resource);
>> NameServiceManager.startNS();
>>
>> "
>>
>> Where should I add these few lines of code? Can you share me some of your
>> idea?
>>
>> Thanks
>> Lei
>>
>>
>>
>>
>>
>> On 3/22/06, Si Chen <[hidden email]> wrote:
>>    
>>>  Hey everybody -
>>>
>>> Just so you know I actually haven't tried this myself and would like to
>>> know your experiences with it.
>>>
>>> Si
>>>
>>>
>>> Brett Palmer wrote:
>>>
>>> Si,
>>>
>>> Thanks for the post.  This sounds a lot easier than moving to Geronimo
>>> right now.
>>>
>>> Brett
>>>
>>>    On 3/21/06, Si Chen <[hidden email]> <[hidden email]> wrote:
>>> Hey glad you wrote in: somebody claims to have figured out how to do it:
>>>
>>> http://sourceforge.net/forum/forum.php?thread_id=1465209&forum_id=487771
>>>
>>>
>>> Want to see if it works?
>>>
>>> Si
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users