This week's book giveaways are in the Angular and TypeScript and Web Services forums.
We're giving away four copies each of Programming with Types and The Design of Web APIs and have the authors on-line!
See this thread and this one for details.
Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services forum!

Tony Chen

Ranch Hand
+ Follow
since Jan 29, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tony Chen

Originally posted by Sridhar Gollapalli:

+ 10 1 06.09.14 11:48:15:094 ICT java.lang.ClassNotFoundException com.ibm.ws.classloader.CompoundClassLoader.loadClass 248



You might also wanna check out this ClassNotFoundException. Maybe it's missing a jar in the classpath.
13 years ago
I'm having the same problem:

Jun 6, 2006 8:16:36 PM com.ibm.ws.naming.util.Helpers
WARNING: jndiGetObjInstNoop
java.lang.ClassCastException: javax.naming.Reference
at com.test.jms.Sender.main(Sender.java:33)

I've found another solution: adding <WAS_HOME>/lib/dynacache.jar into the classpath.

My environment is: WAS 6.0.0.1, WebSphere MQ 6.0, JMS Client Java Application running in RAD 6.0

I also found another more intuitive solution by adding messagingClient.jar.
13 years ago

SRVE0026E: [Servlet Error]-[JSPG0227E: Exception caught while translating /WEB-INF/jsp/layout/login-layout.jsp: java.lang.reflect.InvocationTargetException



Take a closer look at the page login-layout.jsp. Do other projects use the same login-layout.jsp or similar page?
13 years ago
Unfortunately I don't know anything more than what I put into the previous reply. Try search in the IBM redbooks site: http://ibm.com/redbooks
13 years ago
http://www.pc.ibm.com/store/products/software/4690/index.html

All I know is it's a POS system. (Don't know what it has to do with WebSphere.)
13 years ago
com.ibm.etools.archive.exception.NoModuleFileException: A file does not exist for module element having uri: database_day2.war

What is this database_day2.war that WAS couldn't find?
13 years ago
If your target deploy environment is WAS 5.1 or 6.0, then you should use JRE 1.4 in your WSAD 5.1 (for WAS 5.1) or RAD (for WAS 5.1/6.0). If the target deploy environment is WAS 5.0, then you should use JRE 1.3.

For which version of Java is supported by WAS, please check the prereq page for the corresponding version.

http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg27006921
13 years ago

Originally posted by Sam Gehouse:

Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr at com.ibm.websphere.naming.WsnInitialContextFactory.<clinit>(WsnInitialContextFactory.java:68).null(Unknown Source)



You also need WAS_HOME/lib/ras.jar

Also following jar files might be required as well:

ecutils.jar
ffdc.jar
idl.jar
implFactory.jar
iwsorb.jar
j2ee.jar
naming.jar
namingclient.jar
namingserver.jar
ras.jar
tx.jar
txPrivate.jar
utils.jar
wsexception.jar

HTH
For support of J2EE 1.4 specifications (not just JDK 1.4), you'll need Rational Application Developer (RAD) for WebSphere Software V6.0

Features and benefits

Trial Download
14 years ago
Anyone has the updated link to the "Rational Certified Professional"?
What is this /css/nyk-style-00.css ? Where is it defined? In your web appliation (WAR)?
15 years ago

Originally posted by nicole loh:
Sorry....the exception I posted is wrong..... this is the actual exception I got:
javax.naming.ConfigurationException: Malformed provider URL: corbaloc:iiop:loc
host
at com.ibm.ws.naming.util.WsnInitCtxFactory.parseBootstrapURL(WsnInitC
Factory.java:1422)
at


check your provider url, make sure it looks like something this:
"corbaloc:iiop:myhost.mycompany.com:2809"

...
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import com.ibm.websphere.naming.PROPS;
...
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
env.put(Context.PROVIDER_URL, "corbaloc:iiop:myhost.mycompany.com:2809");
env.put(PROPS.NAME_SPACE_ROOT, PROPS.NAME_SPACE_ROOT_CELL_PERSISTENT);
Context initialContext = new InitialContext(env);
...
15 years ago
Start from here:
developerWorks > WebSphere Portal zone
http://www-106.ibm.com/developerworks/websphere/zones/portal/
15 years ago

Originally posted by Rufus BugleWeed:
For performance and security reasons, use a Web server and Web server plug-in for the Web server in a production environment.


This link and picture will help you understand it.
WebSphere Firewalls and demilitarized zone (DMZ) configurations
15 years ago