Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Websphere CE (Community edition)

 
san metroca
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic