This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Websphere CE (Community edition)

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope this is correct place to put this problem...


my web app works good on tomcat server, now i am porting it to Websphere CE,

app reads properties file & load it to IntialContext, if I run the app using

- tomcat >> InitialContext ic has env variable and properties are loaded in env

but in

- Websphere CE >> InitialContext ic has env variable and env is empty

and app is failing?

just to add
in both cases (running on tomcat or websphere CE), InitialContext has variable myProp which has all properties from the file... which means properties file was read ..


I have properties file in classes dir and call a service from third party jar file, using debugger & decompiler I could found above difference, but now stuck here?






can you please share tips/suggestions in this case?

thanks...
 
san metroca
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Able to replicate the issue in local with Websphere CE



In my local, I modified the code as following,



ADDEDing //2. in local file worked but I won't be able to add it in third party jar file?

Can you please suggest something?
 
san metroca
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fixed this issue by adding jboss jars (used for NJDI) in endorsed directory of WAS-CE.

But now facing SocketTimeout while getting remote object.

How/where can we set sockettimeout property of WAS-CE ?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!