eric mcentee

Ranch Hand
+ Follow
since May 02, 2001
Merit badge: grant badges
For More
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 eric mcentee

Deepak Lal wrote:

sreeram muthuraman wrote:Hi Bert,
Is your book "OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 804)" released?If not when will it be releasing?

Thanks,
Sreeram




Hi Bert,
Is the above book availabe now.?




Amazon now shows it as having a June release date.
I was laid off at my last company about a year ago, and never finished this test. I have been working on the dark side (ASP.NEt with C#) for the last year, and would like to complete this exam.

I've sent a note to Prometric, but while I wait for their reply I was hoping someone here might know if it's still valid - or if I have to pay again.

Thanks,

Eric
I guess I mean more of like a navigation framework.
I've used struts before to guide actions to do certain things, and emulate processes, like for automated testing.
I am staring at a system I have to design and know that Struts would be perfect. Its the type of thing where you basically have a decision tree to perform certain business tasks based on roles, and other stuff. It would be perfect in Struts, but alas.... I now work for the dark side...

[ March 04, 2004: Message edited by: eric mcentee ]
19 years ago
I know this is off topic, but my job was outsourced overseas and I am now in a ASP.NET with C# shop that has a glaring need for something like Struts.
While I would love to fight to switch to Java, its not going to happen so I have to deal with it.
Is anyone aware of a a similar action or rule based framework for ASP.NET?
Thanks in advance.
19 years ago
Has anyone seen something like occur? It's sporadic, sometimes my Queues appear to work fine, but once under load I get this:
***************************
[1/15/04 15:30:20:913 EST] 2ae92451 ConnectionMan E J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException: Connection not available, Timed out waiting for 180000
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1030)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java(Compiled Code))
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java(Compiled Code))
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java(Compiled Code))
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:80)
......
***************************
Any advice on how to set up the queues or if you've seen this, any clues?
Thanks,
Eric
19 years ago
Sorry, excuse my ignorance, I'm a WAS newbie. Where do I find this EJB Deployment Descriptor menu? Is this through the admin console, or WSAD?
Thanks,
Eric
19 years ago
Hello, I was hoping someone might have run into something like this.
I am porting an existing Weblogic application to WAS5.1. In the Weblogic application, datasources are referred to by their JNDI names.
My application is working in WAS, but I get this info message:
****************************
[1/9/04 16:01:04:505 EST] 4a84ce88 ConnectionFac I J2CA0122I: Resource reference NCRCRMDB could not be located, so default values of the following are used: [Resource-ref settings]
res-auth: 1 (APPLICATION)
res-isolation-level: 0 (TRANSACTION_NONE)
res-sharing-scope: true (SHAREABLE)
res-resolution-control: 999 (undefined)
[Other attributes]
isCMP1_x: false (not CMP1.x)
isJMS: false (not JMS)

****************************
I found on an IBM pub site that this means that since I am referencing the datasource via JNDI directly the container can't manage these values, so it sets defaults.
Has anyone seen something similar, and if so, have you been able to solve it? It's my impression that this is akin to a warning since the code works, but the log is getting filled with these.
Thanks,
Eric McEntee
19 years ago
Hello-
I am migrating a Weblogic 7.0 app to WAS 5.1, and I'm just about there. However, I can't get my MDB's to start since I get the following error:
**************************
[1/6/04 11:06:41:679 EST] 3c1669d4 ConnectionEve A J2CA0056I: The Connection Manager received a fatal connection error from the Resource Adaptor for resource tpsQueueConnectionFactory. The exception which was received is javax.jms.JMSException: MQJMS2008: failed to open MQ queue
[1/6/04 11:06:41:694 EST] 3c1669d4 MDBListenerIm W WMSG0019E: Unable to start MDB Listener ErrorHandlerMsgBean, JMSDestination ErrorQueue : javax.jms.JMSException: MQJMS2008: failed to open MQ queue

**************************
There is more to the stack trace, I can include it if needed.
Anyway, I am using the built in Websphere JMS provider. I have set up my QueueConnection Factory, and my Queue Destinations. Some of my queues seem to work, but some get this.
I am able to start the individual listener ports from the admin console, but they stop when I try to restart the server with my application.
Has anyone run into something like this?
Thanks,
Eric
19 years ago
I am trying to migrate a weblogic application to Websphere 5.1. I have been able to use the Application Server Toolkit to build EJB jars, and an EAR file to deploy on WAS 5.1.
However, the Weblogic application I am trying to migrate has several resources that don't get bundled into the individual EJB jars. These are objects and properties files that need to be seen by the EAR class loader for the whole application.
I tried using the JAR dependency editor, and even importing the file system that contains these jars into my project, and I can see that they are in the EAR.
The application will not start due to missing resources that are in the jars.
My question is where do I put other jars, libraries, or property files in the WAS 5.1 directory structure so that they are visible on the classpath to my application? Should I dump them in the ..\WebSphere\AppServer\config\cells\<myserver name>\applications\<my application name> directory?
Thank you,
Eric McEntee
19 years ago
Hello,
The JDBC driver I am using is a non supported type 3 or 4 (I have both). It has problems with the J2C connector architecture for a managed connnection pool.
As a work around, the JDBC provider has asked if I can try using a Version 4 Datasource through the Admin console.
If I try to deploy my WAR as is, and test it, I get the following :
(I haven't inlcuded the whole stack trace since the message is pretty good)
***************************

***************************
If I try to change the servlet dtd to the 2.2 spec, I get this

***************************

***************************

Has anyone had experience trying use a V4 datasource with a servlet in V5 of WAS? Or is the workaround I was given just not going to work?
Thank you,
Eric
[ October 27, 2003: Message edited by: eric mcentee ]
19 years ago
No problem, I've been in many situations where you feel like everyone is beating on your project and there isn't anything you can do. I'm just a Websphere newbie, and was having a hard time translating what we do now to what we want to do with Websphere.
19 years ago
I wasn't trying to lay blame, I'm just looking for some resources on this. We are trying to add Websphere to our list of supported app servers and it hasn't been that easy. I am going through a discovery phase right now, and your answer about XDoclet helps.
I see that you are in RTP, are you aware of a user group or mailing list for migration issues? I'm in Raleigh, and would be interested in attending if there was such a thing.
19 years ago
Hmmm... Thats not necessarily a good thing. For example, we have a nightly ant build that builds our product for Weblogic 6.0, 7.0, and 8.1. We are going through the painfull process of trying to get our app up on WAS 5.0.2, and were counting on XDoclet to be able to generate the deployment XML for us. We need to support multiple servers, (we are adding JBoss later as well) and need a way such as XDoclet to produce these files and not have to maintain 50 different versions in source control.
Is the limitation in Websphere, or is it in the current release of XDoclet? If it's Websphere, is there a workaround such as building a JACL script that our ant build can call? If you have anymore information about this or can point me to a reference I'd really appreciate it.
19 years ago
Hello,
I am running into problems while trying to activate a JDBC connection pool on WAS 5.0.2. I am able to create the JDBC provider and Datasource. When I run the Test Connection tool, it comes back fine. However, when I try to run a sample application I get the following error:

***********************************
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R javax.naming.NameNotFoundException: Name comp/env/jdbc not found in context "java:".
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1638)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:997)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:920)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1211)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1203)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1257)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at javax.naming.InitialContext.lookup(InitialContext.java:359)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ncr.crm.util.TestConnPoolServlet.getConnection(TestConnPoolServlet.java:129)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ncr.crm.util.TestConnPoolServlet.getDate(TestConnPoolServlet.java:82)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ncr.crm.util.TestConnPoolServlet.service(TestConnPoolServlet.java:53)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
[10/20/03 17:33:23:053 EDT] 1a8a1a10 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

***********************************
When I launch the Tivoli Performance viewer, I see the sample Cloudscape connection pools appear, by mine doesn't. When I run the dumpnamespace command I get the following:

***********************************
58 (top)/nodes/WUSEM180000-OAT/servers/server1/jdbc/NCRCRMDB
58 ERROR: Could not instantiate a bound object.
58 Bound Java type: NCRCRMDB
58 Local Java type: NULL
58 String representation:
************************************
There are no errors in the log files, and as I've mentioned, the test connection passes.
Any ideas on what might prevent this? I should add that the JDBC driver is for Teradata, so when I create a JDBC Provider in the Admin Console I have to select "com.ibm.websphere.rsadapter.GenericDataStoreHelper" when creating the Datasource under the Datasource Helper Classname.

Thank you in advance for your help,
Eric McEntee
19 years ago
I hope someone can give me a hint here. I have a Weblogic 7 webapp (nothing big, just a servlet, a class, and a web.xml) that I have put into a WAR.
I am trying to use the Websphere Application Assembly Tool for Websphere 5.0 Network Deployment. I use the Install New Application menu, and have selected the WAR, entered a Context name, and click next. I get the following error:

Any ideas?
Thanks for any feedback.
19 years ago