• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Stuck with Weblogic 8.1, Would like J2EE 1.4 Support

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I can probably live without Servlets1.4 but would really like to use JSP 2.0. If I just plop the jsp-2.0.jar file in my apps WEB-INF/lib folder, does it just work? Is there anything else that needs to be done? I assume I may have to precompile the JSP's?

Thanks.
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not that I have any good recent Weblogic experience. But wouldn't you want to put those J2EE type jars in a place that more than one application can use it? By including it in your war file, then each web application you write would require you to include it. Isn't there like a server/lib directory that these can be placed?

Mark
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I doubt that it would work that easily--mixing and matching libraries between different vendors' application servers is not what I'd call a walk in the park.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mark Spritzler:
Not that I have any good recent Weblogic experience. But wouldn't you want to put those J2EE type jars in a place that more than one application can use it? By including it in your war file, then each web application you write would require you to include it. Isn't there like a server/lib directory that these can be placed?

Mark



That would be the case if I cared about any other apps on this server instance, which I don't. Seems like around here all applications get their own server.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lasse Koskela:
I doubt that it would work that easily--mixing and matching libraries between different vendors' application servers is not what I'd call a walk in the park.



That's what I am afraid of. Could I test it? Sure, but I thought I'd give the JavaRanch members a chance to get their post count up. I'm going to try a simple hello world type app this afternoon.
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If memory serves me right, all the J2EE classes/interfaces are packages in the weblogic.jar file in the server/lib directory. What you could do would be to add the jsp-2.0.jar file in that directory and then make sure it gets loaded before the weblogic.jar file. Have a look at the startWeblogic.[sh|cmd] file and see whether you can specify that there. There is of course absolutely no guarantee that it will work... I'll try tomorrow and I'll post another message if I find something...
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is definitely not going to work... nor would I ever recommend it. Using the technique that you describe above will get you JSTL 1.1.2 support but won't do anything for the other JSP 2.0 features (inline EL or JSP Custom Tags). I personally don't find JSP 2.0 all that compelling... though I use WebWork for Web Development (which relies on OGNL)

If you can't possibly live without JSP 2.0 then I would suggest you focus your energy on getting the powers that be to buy off on upgrading to WebLogic 9 instead of hacking WebLogic 8.1.
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic