Tuesday, 5 May 2009
|
| J2CA0294W: Deprecated usage of direct JNDI lookup of resource Guest 19:39:18 |
| | I am having a hard time finding the solution to this warning message in WAS 6. I know that I have to use an indirect JNDI reference but I cannot get it to work correctly.
I have a datasource defined with a jndi name of jdbc/mydatasource
I have several EJBs that access the datasource via jndi. The direct reference works but generated the warning over and over and affects performace.
How do I set up my EJB resource reference as an indirect jndi reference?
Thanks for your help.
|
| | 13 answers | Add comment |
Thursday, 30 April 2009
|
| com.ibm.etools.archive.exception.NoModuleFileException: A file does not exist for module element Guest 09:22:44 |
| | Hello Friends I get the following error when I try to deploy my EAR file on websphere app server. ------------------------------------------------------------------------------ com.ibm.etools.archive.exception.NoModuleFileException: A file does not exist for module element having uri: lib\asm-1.4.1.jar ------------------------------------------------------------------- This jar file is under lib directory of my EAR and I have included this in my application.xml as a java module, but somehow websphere does not like it.
<module> <java>lib\asm-1.4.1.jar</java> </module>
Please suggest
|
| | Add comment |
Thursday, 23 April 2009
|
| WSEC5075E: No security token found which satisfies any one of AuthMethods Ananya Bhushan 21:14:38 |
| | Hello,
We are trying to secure a webservice using basic authentication.
We followed IBM Redbook (http://www.redbooks.ibm.com/abstracts/sg246891.html) chapter-16 exactly.
And able to set 'BasicAuth' security correctly in web service which runs on IBM WebSphere 5.1.2.
We also made all needed changes in our Client for BasicAuth but the 'Soap Envelop' sent by client doesn't contains security header although clients specific.xmi (ibm-webservices-bnd.xmi, ibm-webservices-ext.xmi) contains all security entries.
Kindly suggest what could be reason for missing Security Header in SOAP Envelop.
<<ibm-webservices-ext.xmi>> is as follows --
<?xml version="1.0" encoding="UTF-8"?> <com.ibm.etools.webservice.wsext:WsExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.etools.webservice.wsext="http://www.ibm.com/websphere/appserver/schemas/5.0.2/wsext.xmi" xmi:id="WsExtension_1148033879375"> <wsDescExt xmi:id="WsDescExt_1148033879375" wsDescNameLink="Hello_Service"> <pcBinding xmi:id="PcBinding_1148033879375" pcNameLink="Hello_Port"> <serverServiceConfig xmi:id="ServerServiceConfig_1148038875703"> <securityRequestReceiverServiceConfig xmi:id="SecurityRequestReceiverServiceConfig_1148038875703"> <loginConfig xmi:id="LoginConfig_1148038875703"/> </securityRequestReceiverServiceConfig> </serverServiceConfig> </pcBinding> </wsDescExt> </com.ibm.etools.webservice.wsext:WsExtension>
<<HelloRequest.xml>> -- The SOAP message sent by the client is as follows ---
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body soapenc:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><sayHello xmlns="urn:examples:helloservice"><firstName xsi:type="xsd:string" xmlns="">I am Client...</firstName></sayHello></soapenv:Body></soapenv:Envelope>
<<ibm-webservices-bnd.xmi>> is as follows --
<?xml version="1.0" encoding="UTF-8"?> <com.ibm.etools.webservice.wsbnd:WSBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.etools.webservice.wsbnd="http://www.ibm.com/websphere/appserver/schemas/5.0.2/wsbnd.xmi" xmi:id="WSBinding_1148033879296"> <wsdescBindings xmi:id="WSDescBinding_1148033879296" wsDescNameLink="Hello_Service"> <pcBindings xmi:id="PCBinding_1148033879296" pcNameLink="Hello_Port"/> </wsdescBindings> </com.ibm.etools.webservice.wsbnd:WSBinding>
<<HelloResponse.xml>> -- The response received from the web service is as follows --
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode xmlns:ns-205265895="http://schemas.xmlsoap.org/ws/2003/06/secext" xmlns="">ns-205265895:FailedAuthentication</faultcode><faultstring xmlns=""><![CDATA[WSEC5075E: No security token found which satisfies any one of AuthMethods.]]></faultstring><detail xmlns=""><stackTrace xmlns="http://websphere.ibm.com/webservices/"><![CDATA[com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5075E: No security token found which satisfies any one of AuthMethods. at com.ibm.wsspi.wssecurity.SoapSecurityException.format(SoapSecurityException.java:134) at com.ibm.xml.soapsec.token.ReceiverLogin.invoke(ReceiverLogin.java:211) at com.ibm.xml.soapsec.SoapSecurityReceiver.invokeComponent(SoapSecurityReceiver.java:527) at com.ibm.xml.soapsec.SoapSecurityReceiver.invoke(SoapSecurityReceiver.java:362) at com.ibm.ws.webservices.wssecurity.handler.WSSoapSecurityReceiverBase.invoke(WSSoapSecurityReceiverBase.java:159) at com.ibm.ws.webservices.wssecurity.handler.GlobalSecurityHandler.handleRequest(GlobalSecurityHandler.java:113) at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandlerChain.handleRequest(JAXRPCHandlerChain.java:249) at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invokeServerRequestHandler(JAXRPCHandler.java:340) at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler$1.invoke(JAXRPCHandler.java:214) at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:195) at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212) at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255) at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:850) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672) ]]></stackTrace></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
Regards, Ananya
|
| | 1 answer | Add comment |
Thursday, 9 April 2009
|
| DB2 Connection Problem Guest 00:47:17 |
| | Hi all,
Our web application hits the following two exceptions randomly (once or twice a day) while opening connection to db2. Does anyone has idea about the cause of the exception. We are using connection pool to connect to db2.
A little background: WebSphere Server : version 6.0.2.9 on AIX Database product name : DB2/AIX64 Database product version : SQL08025 JDBC driver name : IBM DB2 JDBC Universal Driver Architecture JDBC driver version : 2.9.31 JDBC driver type : 4
--------------------------------------------------------------------------------------------------------------- java.lang.reflect.InvocationTargetException : Error opening socket to server _server_name_/_server_ip_ on port _port_no_ with message : null
DB2ConnectionCorrelator: null DSRA0010E: SQL State = null, Error Code = -4,499 DSRA0010E: SQL State = null, Error Code = -4,499 --------------------------------------------------------------------------------------------------------------- java.sql.SQLException: A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: There is no process to read data written to a pipe.. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS DB2ConnectionCorrelator: null DSRA0010E: SQL State = null, Error Code = -4,499 DSRA0010E: SQL State = null, Error Code = -4,499 ---------------------------------------------------------------------------------------------------------------
Any help appreciated!
|
| | 4 answer | Add comment |
Sunday, 5 April 2009
|
| QuickBooks client over VPN Mark St Laurent 14:06:56 |
| | We have set up a gateway to gateway VPN between QuickBooks Enterprise server site and wish to connect remote client at another site. Standard windows file transfer averages 30k/sec. Fractional T1 @ 256K on server side standard ADSL on the client side. Opening quick books client very slow. I am not that familiar with bandwidth requirements for this app and realize that an RDP or term services session may be faster but is this really necessary. Can it not be accomplished over VPN, as it would on the local LAN and what would be reasonable in terms of bandwidth requirements. I know this is more of a networking question. I am hoping that others in this group who have also expanded their businesses and use QuickBooks could shed some light on this issue.
|
| | 12 answers | Add comment |
Saturday, 4 April 2009
|
| LocalTransaction rolled-back and error-page directive Guest 11:13:19 |
| | Hi,
We have a servlet in our application that reads .pdf/.bmp/.gif files from a database BLOB column and outputs them to browser. After closing the database connection, we get error "LocalTransaction rolled-back due to setRollbackOnly". According to http://www.skywayradio.com/tech/WAS51/ND_V51/ae/ae/WTRN.html, this message is for information only and occurs since the database select query is not commited explicitly.
When we add error-page directive in web.xml, server appends whatever content the error handler generates, to the .pdf/.bmp/.gif file and this results in corrupt .pdf file, but other formats do ok.
The solution I gues here is to avoid "WTRN0043I: LocalTransaction rolled-back due to setRollbackOnly." Is issueing commit in all read-only transcations the only way? Also, if this error is informational, why WAS throws an exception and then translates it into a HTTP 500 error and calls error-page servlet?
The WAS version is 5.1.1.6 PK12027.
Here is the complete stack trace of the error. ==================================== [12/5/05 20:02:28:257 EST] 295d2d47 LocalTranCoor E WLTC0033E: Resource jdbc/dev rolled back in cleanup of unresolved LocalTransactionContainment. [12/5/05 20:02:28:261 EST] 295d2d47 LocalTranCoor E WLTC0032E: One or more resources rolled back. An unresolved LocalTransactionContainment had an unresolved action of rollback. [12/5/05 20:02:28:265 EST] 295d2d47 WebAppTransac E WTRN0043I: LocalTransaction rolled-back due to setRollbackOnly. [12/5/05 20:02:28:268 EST] 295d2d47 WebGroup E SRVE0026E: [Servlet Error]-[LocalTransaction rolled-back due to setRollbackOnly]: com.ibm.ws.LocalTransaction.RolledbackException at com.ibm.ws.LocalTransaction.LocalTranCoordImpl.cleanup(LocalTranCoordImpl.java:1091) at com.ibm.ws.webcontainer.webapp.WebAppTransactionCollaborator.postInvoke(WebAppTransactionCollaborator.java:249) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:852) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:203) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:294) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)
Error 500: LocalTransaction rolled-back due to setRollbackOnly. ====================================
Note: All the file formats work correctly if error-page directive is not used, but the exception continues to be thrown in the log file.
Thanks, Sameer.
|
| | 1 answer | Add comment |
Tuesday, 17 February 2009
|
| OpenLDAP & Websphere 6 Guest 11:40:46 |
| | Hi,
Based on the website "http://geocities.com/w_durairaj/openldap.htm", I'm trying to use openldap as a JAAS authentification with Websphere 6. However, when I try to start the deployement manager I've got : << [16/02/06 10:16:13:558 CET] 0000000a WsServerImpl E WSVR0009E: Une erreur s'est produite lors du dГ©marrage META-INF/ws-server-components.xml [16/02/06 10:16:13:568 CET] 0000000a WsServerImpl E WSVR0009E: Une erreur s'est produite lors du dГ©marrage com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: Cannot find uniqueID for the user uid=user1,ou=people,dc=thunderbird,dc=org at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:182) at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:120) at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:378) at com.ibm.ws.runtime.WsServer.main(WsServer.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190) Caused by: com.ibm.ws.exception.RuntimeError: Cannot find uniqueID for the user uid=user1,ou=people,dc=thunderbird,dc=org at com.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:319) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:821) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)>>
For information I can access to LDAP with LDAP Browser for example.
On WAS, I've respected the settings displayed on the website, however I've still got this strange error.
I'm using "openldap-2.2.29-db-4.3.29-openssl-0.9.8a-win32_Setup.exe".
Attached is the stack trace from openldap on mode debug 1.
Did you already saw that error ? Do you know a way to correct it ?
Regards, 75blured. ----
Attachments :
ber_scanf fmt (m}) ber:>>> >>> dnPrettyNormal: <> <<< dnPrettyNormal: <>, <> do_bind: version=3 dn="" method=128 send_ldap_result: conn=16 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 1028 do_bind: v3 anonymous bind connection_get(1028): got connid=16 connection_read(1028): checking for input on id=16 ber_get_next ber_get_next: tag 0x30 len 71 contents: do_search ber_scanf fmt ({miiiib) ber:>>> >>> dnPrettyNormal: <dc=thunderbird,dc=org> => ldap_bv2dn(dc=thunderbird,dc=org,0) ldap_err2string <= ldap_bv2dn(dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(dc=thunderbird,dc=org)=0 Success <<< dnPrettyNormal: <dc=thunderbird,dc=org>, <dc=thunderbird,dc=org> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: ==> limits_get: conn=16 op=1 dn="[anonymous]" => bdb_search bdb_dn2entry("dc=thunderbird,dc=org") ber_get_next search_candidates: base="dc=thunderbird,dc=org" (0x00000001) scope=1 => bdb_equality_candidates (objectClass) => key_read <= bdb_index_read: failed (-30989) <= bdb_equality_candidates: id=0, first=0, last=0 => bdb_dn2idl( "dc=thunderbird,dc=org" ) <= bdb_dn2idl: id=2 first=2 last=3 => bdb_presence_candidates (objectClass) bdb_search_candidates: id=-1 first=2 last=3 ber_get_next on fd 1028 failed errno=10035 (WSAEWOULDBLOCK) => send_search_entry: dn="ou=people,dc=thunderbird,dc=org" ber_flush: 79 bytes to sd 1028 <= send_search_entry send_ldap_result: conn=16 op=1 p=3 send_ldap_response: msgid=2 tag=101 err=0 ber_flush: 14 bytes to sd 1028 connection_get(1028): got connid=16 connection_read(1028): checking for input on id=16 ber_get_next ber_get_next: tag 0x30 len 82 contents: do_search ber_scanf fmt ({miiiib) ber:>>> >>> dnPrettyNormal: <ou=people, dc=thunderbird,dc=org> => ldap_bv2dn(ou=people, dc=thunderbird,dc=org,0) ldap_err2string <= ldap_bv2dn(ou=people, dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ber_get_next ber_get_next on fd 1028 failed errno=10035 (WSAEWOULDBLOCK) ldap_err2string <= ldap_dn2bv(ou=people,dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(ou=people,dc=thunderbird,dc=org)=0 Success <<< dnPrettyNormal: <ou=people,dc=thunderbird,dc=org>, <ou=people,dc=thunderbird ,dc=org> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: ==> limits_get: conn=16 op=2 dn="[anonymous]" => bdb_search bdb_dn2entry("ou=people,dc=thunderbird,dc=org") search_candidates: base="ou=people,dc=thunderbird,dc=org" (0x00000003) scope=1 => bdb_equality_candidates (objectClass) => key_read <= bdb_index_read: failed (-30989) <= bdb_equality_candidates: id=0, first=0, last=0 => bdb_dn2idl( "ou=people,dc=thunderbird,dc=org" ) <= bdb_dn2idl: id=1 first=4 last=4 => bdb_presence_candidates (objectClass) bdb_search_candidates: id=1 first=4 last=4 => send_search_entry: dn="uid=user1,ou=people,dc=thunderbird,dc=org" ber_flush: 75 bytes to sd 1028 <= send_search_entry send_ldap_result: conn=16 op=2 p=3 send_ldap_response: msgid=3 tag=101 err=0 ber_flush: 14 bytes to sd 1028 connection_get(1028): got connid=16 connection_read(1028): checking for input on id=16 ber_get_next ber_get_next: tag 0x30 len 93 contents: ber_get_next ber_get_next on fd 1028 failed errno=10035 (WSAEWOULDBLOCK) do_search ber_scanf fmt ({miiiib) ber:>>> >>> dnPrettyNormal: <uid=user1, ou=people, dc=thunderbird,dc=org> => ldap_bv2dn(uid=user1, ou=people, dc=thunderbird,dc=org,0) ldap_err2string <= ldap_bv2dn(uid=user1, ou=people, dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(uid=user1,ou=people,dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(uid=user1,ou=people,dc=thunderbird,dc=org)=0 Success <<< dnPrettyNormal: <uid=user1,ou=people,dc=thunderbird,dc=org>, <uid=user1,ou=p eople,dc=thunderbird,dc=org> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: ==> limits_get: conn=16 op=3 dn="[anonymous]" => bdb_search bdb_dn2entry("uid=user1,ou=people,dc=thunderbird,dc=org") search_candidates: base="uid=user1,ou=people,dc=thunderbird,dc=org" (0x00000004) scope=1 => bdb_equality_candidates (objectClass) => key_read <= bdb_index_read: failed (-30989) <= bdb_equality_candidates: id=0, first=0, last=0 => bdb_dn2idl( "uid=user1,ou=people,dc=thunderbird,dc=org" ) <= bdb_dn2idl: get failed: DB_NOTFOUND: No matching key/data pair found (-30989)
=> bdb_presence_candidates (objectClass) bdb_search_candidates: id=0 first=0 last=0 bdb_search: no candidates send_ldap_result: conn=16 op=3 p=3 send_ldap_response: msgid=4 tag=101 err=0 ber_flush: 14 bytes to sd 1028 connection_get(1028): got connid=16 connection_read(1028): checking for input on id=16 ber_get_next ber_get_next: tag 0x30 len 80 contents: do_search ber_scanf fmt ({miiiib) ber:>>> >>> dnPrettyNormal: <uid=user1, ou=people, dc=thunderbird,dc=org> => ldap_bv2dn(uid=user1, ou=people, dc=thunderbird,dc=org,0) ldap_err2string <= ldap_bv2dn(uid=user1, ou=people, dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ber_get_next ber_get_next on fd 1028 failed errno=10035 (WSAEWOULDBLOCK) ldap_err2string <= ldap_dn2bv(uid=user1,ou=people,dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(uid=user1,ou=people,dc=thunderbird,dc=org)=0 Success <<< dnPrettyNormal: <uid=user1,ou=people,dc=thunderbird,dc=org>, <uid=user1,ou=p eople,dc=thunderbird,dc=org> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: ==> limits_get: conn=16 op=4 dn="[anonymous]" => bdb_search bdb_dn2entry("uid=user1,ou=people,dc=thunderbird,dc=org") => send_search_entry: dn="uid=user1,ou=people,dc=thunderbird,dc=org" ber_flush: 154 bytes to sd 1028 <= send_search_entry send_ldap_result: conn=16 op=4 p=3 send_ldap_response: msgid=5 tag=101 err=0 ber_flush: 14 bytes to sd 1028 connection_get(1028): got connid=16 connection_read(1028): checking for input on id=16 ber_get_next ber_get_next: tag 0x30 len 69 contents: ber_get_next ber_get_next on fd 1028 failed errno=10035 (WSAEWOULDBLOCK) do_search ber_scanf fmt ({miiiib) ber:>>> >>> dnPrettyNormal: <ou=people, dc=thunderbird,dc=org> => ldap_bv2dn(ou=people, dc=thunderbird,dc=org,0) ldap_err2string <= ldap_bv2dn(ou=people, dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(ou=people,dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(ou=people,dc=thunderbird,dc=org)=0 Success <<< dnPrettyNormal: <ou=people,dc=thunderbird,dc=org>, <ou=people,dc=thunderbird ,dc=org> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: ==> limits_get: conn=16 op=5 dn="[anonymous]" => bdb_search bdb_dn2entry("ou=people,dc=thunderbird,dc=org") => send_search_entry: dn="ou=people,dc=thunderbird,dc=org" ber_flush: 95 bytes to sd 1028 <= send_search_entry send_ldap_result: conn=16 op=5 p=3 send_ldap_response: msgid=6 tag=101 err=0 ber_flush: 14 bytes to sd 1028 connection_get(1028): got connid=16 connection_read(1028): checking for input on id=16 ber_get_next ber_get_next: tag 0x30 len 58 contents: ber_get_next ber_get_next on fd 1028 failed errno=10035 (WSAEWOULDBLOCK) do_search ber_scanf fmt ({miiiib) ber:>>> >>> dnPrettyNormal: <dc=thunderbird,dc=org> => ldap_bv2dn(dc=thunderbird,dc=org,0) ldap_err2string <= ldap_bv2dn(dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(dc=thunderbird,dc=org)=0 Success <<< dnPrettyNormal: <dc=thunderbird,dc=org>, <dc=thunderbird,dc=org> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: ==> limits_get: conn=16 op=6 dn="[anonymous]" => bdb_search bdb_dn2entry("dc=thunderbird,dc=org") => send_search_entry: dn="dc=thunderbird,dc=org" ber_flush: 125 bytes to sd 1028 <= send_search_entry send_ldap_result: conn=16 op=6 p=3 send_ldap_response: msgid=7 tag=101 err=0 ber_flush: 14 bytes to sd 1028 connection_get(1028): got connid=16 connection_read(1028): checking for input on id=16 ber_get_next ber_get_next: tag 0x30 len 69 contents: do_search ber_scanf fmt ({miiiib) ber:>>> >>> dnPrettyNormal: <ou=people, dc=thunderbird,dc=org> => ldap_bv2dn(ou=people, dc=thunderbird,dc=org,0) ldap_err2string <= ldap_bv2dn(ou=people, dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ber_get_next ber_get_next on fd 1028 failed errno=10035 (WSAEWOULDBLOCK) ldap_err2string <= ldap_dn2bv(ou=people,dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(ou=people,dc=thunderbird,dc=org)=0 Success <<< dnPrettyNormal: <ou=people,dc=thunderbird,dc=org>, <ou=people,dc=thunderbird ,dc=org> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: ==> limits_get: conn=16 op=7 dn="[anonymous]" => bdb_search bdb_dn2entry("ou=people,dc=thunderbird,dc=org") => send_search_entry: dn="ou=people,dc=thunderbird,dc=org" ber_flush: 95 bytes to sd 1028 <= send_search_entry send_ldap_result: conn=16 op=7 p=3 send_ldap_response: msgid=8 tag=101 err=0 ber_flush: 14 bytes to sd 1028 connection_get(1028): got connid=16 connection_read(1028): checking for input on id=16 ber_get_next ber_get_next: tag 0x30 len 58 contents: do_search ber_scanf fmt ({miiiib) ber:>>> >>> dnPrettyNormal: <dc=thunderbird,dc=org> => ldap_bv2dn(dc=thunderbird,dc=org,0) ldap_err2string <= ldap_bv2dn(dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ber_get_next ber_get_next on fd 1028 failed errno=10035 (WSAEWOULDBLOCK) ldap_err2string <= ldap_dn2bv(dc=thunderbird,dc=org)=0 Success => ldap_dn2bv(272) ldap_err2string <= ldap_dn2bv(dc=thunderbird,dc=org)=0 Success <<< dnPrettyNormal: <dc=thunderbird,dc=org>, <dc=thunderbird,dc=org> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: ==> limits_get: conn=16 op=8 dn="[anonymous]" => bdb_search bdb_dn2entry("dc=thunderbird,dc=org") => send_search_entry: dn="dc=thunderbird,dc=org" ber_flush: 125 bytes to sd 1028 <= send_search_entry send_ldap_result: conn=16 op=8 p=3 send_ldap_response: msgid=9 tag=101 err=0 ber_flush: 14 bytes to sd 1028
|
| | 12 answers | Add comment |
Thursday, 12 February 2009
|
| Re: Unable to get a pooled connection from the datasource Guest 15:09:05 |
| | I was getting the same error message trying to connect (pooled or otherwise) to Oracle 9.1 from WAS 6.0. At the end what solved it was : setting the "Component-managed authentication alias" from default "(none)" to "MyComputerNode02/Oracle_Scott". That is something I created. (My computer's name is MyComputer, the node is Node02). To do this, I logged on to the WebSphere Admin Console, went to : Resources -> JDBC providers -> MyOracleJDBCDriver -> Data sources, created a new datasource named MyDataSource (with URL as jdbc:oracle:thin:@localhost:1521:myOraSid), saved the datasource and went back on to its page (i.e. Resources -> JDBC providers -> MyOracleJDBCDriver -> Data sources -> MyDataSource). Now the link (under "Related Items") named "J2EE Connector Architecture (J2C) authentication data entries" becomes clickable. Clicked there and created an account with alias "Oracle_Scott" UserID "scott" and password "tiger". Saved it, came back to the MyDataSource page, and set the "Component-managed authentication alias" from default "(none)" to "MyComputerNode02/Oracle_Scott", and saved it. Connection tested and the nagging problem of ВВВ<em>java.sql.SQLException: invalid arguments in callDSRA0010E: SQL State = null, Error Code = 17,433</em> was gone!
|
| | 7 answers | Add comment |
Tuesday, 13 January 2009
|
| WAS 6.x Resource Assignment out of Scope Eefa 16:21:05 |
| | Hi, I'm working with Websphere 6.0.2. I have a war file that I need to deploy to a cluster and a Web Server. I see that definign resources at the the cell level is deprecated with Websphere 6 but it seems that I need to define my JDBC data sources at this scope if I'm to deploy to a single web server and a cluster. WhenI install my application I get the warning ADMA0115W: Resource Assignment of name jdbc/garageref and type javax.sql.DataSource, with JNDI name jdbc/db2garagecell is not found within scope of module War Display Name with URI MC.war,WEB-INF/web.xml deployed to target WebSphere:cell=OPC129Network,node=OPC129,server=TaHttpWebServer+WebSphere:cell=OPC129Network,cluster=taBuildCluster.
While my application appears to run fine I would like to know what the warning above means as I don't understand it -if my resources are defined at the cell level they should be visible to the war file.
Does anybody have an explanation that might help?
thanks, Aoife
|
| | 1 answer | Add comment |
Thursday, 18 December 2008
|
| SSL handshake failure Stefan Gramsch 19:02:42 |
| | Hello,
while establishing a HTTPS connection we get this Exception:
[...] Caused by: java.net.SocketException: SSL handshake failure at java.lang.Throwable.<init>(Throwable.java:195) at java.lang.Exception.<init>(Exception.java:41) at java.io.IOException.<init>(IOException.java:40) at java.net.SocketException.<init>(SocketException.java:29) at com.ibm.sslite.m.c(Unknown Source) at com.ibm.sslite.m.f(Unknown Source) at com.ibm.sslite.m.a(Unknown Source) at com.ibm.sslite.be.a(Unknown Source) at com.ibm.jsse.bv.startHandshake(Unknown Source) at com.ibm.net.ssl.www.protocol.https.b.o(Unknown Source) at com.ibm.net.ssl.www.protocol.https.q.connect(Unknown Source) at com.ibm.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect(Unknown Source) ... 2 more [...]
This error occurs only a few times a day. Nearly all of the requests work proper. We activated SSL debug in WAS, but couldn't see further messages.
IBM WebSphere Application Server, 5.1.1.7 Build-Number: cf70540.03 Build-Date: 10/03/2005
Any help is appreciated.
Stefan
|
| | 4 answer | Add comment |
Friday, 5 December 2008
|
| Defining classpath for com.ibm.websphere.ant.tasks.Java2WSDL task Oleg Tkachenko 15:59:58 |
| | Hello!
I'm trying to generate WSDL with ant and WebSphere 5.1.2. The problem is that Java2WSDL task can't find the class. I believe I tried everything, but keep getting [Java2WSDLTask] java.lang.ClassNotFoundException: Multiconn.Cobol.Web.Services.F oreignCurrencyConvertor_SEI [Java2WSDLTask] at com.ibm.ws.webservices.wsdl.fromJava.ClassFactory.for Name(ClassFactory.java:82)
How basically I should to define the location of file to be processed?
Here is what I tried: <taskdef name="Java2WSDLTask" classname="com.ibm.websphere.ant.tasks.Java2WSDL" classpath="d:/temp/conv2/WEB-INF/classes"> <classpath> <pathelement path="d:/temp/conv2/lib/JeXperanto.jar"/> <pathelement path="d:/temp/conv2/WEB-INF/classes"/> </classpath> </taskdef>
I'm running the script with ws_ant.bat. The class is in the CLASSPATH too. What's teh proper way to define classpath for the Java2WSDL task? -- Oleg Tkachenko http://blog.tkachenko.com
|
| | 3 answer | Add comment |
Wednesday, 22 October 2008
|
| wsadmin and MapModulesToServers Vannguyen0 14:29:38 |
| | I'm trying to use wsadmin to install an ear package. Using the default:
wsadmin>$AdminApp install c:/some.ear
It installs the application and maps it to to the application server:
WebSphere:cell=hufflepuffNode01Cell,node=hufflepuffNode01,server=server1
I want to also map it to the webserver; which is:
WebSphere:cell=hufflepuffNode01Cell,node=webserver1_node,server=webserver1
So I tried running this command:
wsadmin>$AdminApp install c:/some.ear \ [list -MapModulesToServers \ [list \ [list "URdata ver.3.0b" urdata.war,WEB-INF/web.xml WebSphere:cell=hufflepuffNode01Cell,node=hufflepuffNode01,server=server1] \ [list "URdata ver.3.0b" urdata.war,WEB-INF/web.xml WebSphere:cell=hufflepuffNode01Cell,node=webserver1_node,server=webserver1]]]
After saving this, I checked the application and see that it's now mapped to only the webserver. I swapped the list around and then it's only mapped to the application server. Is there a way to use the -MapModulesToServers to map the same module to both the application server and the webserver?
|
| | 23 answer | Add comment |
Wednesday, 8 October 2008
|
| DB2 datasource connection failing after the mainframe server
restart Guest 18:56:41 |
| | Hi, We have a production issue with an application using Websphere application server datasource to DB2. The mainframe server hosting the DB2 database is scheduled for a weekly restart on Saturdays. After this restart when we try to access the application, it throws an error
==> java.lang.UnsatisfiedLinkError: SQLConnect 2006-07-31T10:15:08.512-0400: java.lang.UnsatisfiedLinkError: SQLConnect at COM.ibm.db2.jdbc.app.DB2Connection.connect(DB2Connection.java:514) at COM.ibm.db2.jdbc.app.DB2Connection.<init>(DB2Connection.java:436) at COM.ibm.db2.jdbc.app.DB2ReusableConnection.<init>(DB2ReusableConnection.java:74) at COM.ibm.db2.jdbc.DB2PooledConnection.getConnection(DB2PooledConnection.java:188) at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getConnection(WSRdbDataSource.java(Compiled Code)) at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java(Compiled Code)) at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java(Compiled Code)) at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java(Compiled Code)) 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.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java(Compiled Code)) at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:336) ................................
We are using the following code to create the connection.
DataSource dataSource = (javax.sql.DataSource) ctx.lookup(dspath); _connection = dataSource.getConnection(user, password);
Could someone please let me know where we are going wrong?
Thanks.
|
| | 9 answers | Add comment |
Monday, 6 October 2008
|
| Can't install timer upgrade Pupkin 21:15:23 |
| | Hi,
I'm upgrading from QB Pro 2003 to Pro 2006. The installation of the main app went fine.
But I'm getting an error when trying to install the new Quickbooks Timer. It detects the older version, but gives up immediately thereafter with the alert: "File not found c:\windows\deisl1.isu"
Can't find this file anywhere else on my accounting PC. Any ideas?
Thanks.
|
| | 2 answer | Add comment |
Friday, 26 September 2008
|
| Re: java.lang.RuntimeException: post body contains less bytes
than<br> specified by content-l Guest 20:03:04 |
| | Hi there,
This issue seems to happen again in the WAS 6.0. The specific version of WAS here is 6.0.2.5. Any idea on a new IBM fix?
I see this error message at the SystemOut.log file of the server. [6/23/06 10:12:03:099 EDT] 00000067 SRTServletReq E SRVE0133E: An error occurred while parsing parameters. java.io.IOException: SRVE0216E: post body contains less bytes than specified by content-length
|
| | 5 answers | Add comment |
Thursday, 7 August 2008
|
| Architecture vs Framework Guest 12:16:12 |
| | What is the difference between the terms "Architecture" and "Framework" ?
|
| | 9 answers | Add comment |
Thursday, 31 July 2008
|
| Any clue about JSPG0123E message error? Bobrivers Br 14:00:18 |
| | Hi,
I use tomcat 4.X, 5.X and jboss 4.X (j2sdk 1.4.2_09) in order to test my development. Everything works fine.
When I try to install the same application in a WebSphere Application Server (6.0), the following message appears:
JSPG0123E: Unable to locate tag attribute info for tag attribute myTag
The error appear on a jsp that have an include inside it ("<%@ include file="something.jspf" %>").
I found nothing about this error. So anything is welcome.
TIA,
Bob
|
| | 1 answer | Add comment |
Tuesday, 29 July 2008
|
| getting "500 Internal Server Error" - GSK_ERROR_BAD_CERT error code Sookean 16:47:19 |
| | Hi all,
All of a sudden in one of our test servers, we are getting "500 Internal Server Error" page for every app we have installed on the WAS.
Then what I found out from http_plugin.log the following messages. I was trying to figure out that this error meant. We are not using SSL at all. Any idea what could be the problem? Could it be some certificate has expired? Any assistance is greatly appreciated!! Please let me know if you need more info in order to help me.
Thanks, Soo Kean
[Thu Mar 17 22:09:38 2005] 0000b1ec 00000001 - ERROR: lib_stream: openStream: Failed in r_gsk_secure_soc_init: GSK_ERROR_BAD_CERT(gsk rc = 414) [Thu Mar 17 22:09:38 2005] 0000b1ec 00000001 - ERROR: ws_common: websphereGetStream: Could not open stream [Thu Mar 17 22:09:38 2005] 0000b1ec 00000001 - ERROR: ws_common: websphereExecute: Failed to create the stream [Thu Mar 17 22:09:38 2005] 0000b1ec 00000001 - ERROR: ws_common: websphereHandleRequest: Failed to execute the transaction to 'webhp04_server1'on host 'webhp04. webmaster.ibm.com'; will try another one [Thu Mar 17 22:09:38 2005] 0000b1ec 00000001 - ERROR: ws_common: websphereWriteRequestReadResponse: Failed to find an app server to handle this request [Thu Mar 17 22:09:38 2005] 0000b1ec 00000001 - ERROR: ws_common: websphereRequestHandler: Failed to find an app server to handle this request [Thu Mar 17 22:09:38 2005] 0000b1ec 00000001 - ERROR: ws_common: websphereHandleRequest: Failed to handle request
|
| | 6 answers | Add comment |
Friday, 20 June 2008
|
| Unable to start messaging engine Vivek Srinivasan 14:36:34 |
| | This is in WAS 6.0.2.9
I go to Bus-->MyBus-->BusMembers and click the start button, but the messaging engine does not start and fails with the following error "The messaging engine AMS-57757Node01.server1-JMSBus cannot be started." [6/28/06 14:44:25:103 EDT] 00000026 WebApp A SRVE0180I: [adminconsole] [/ibm/console] [Servlet.LOG]: action: SIBMessagingEngineCollectionAction: Cannot start Messaging Engine AMS-57757Node01.server1-JMSBus:MBeanServer cannot find MBean with ObjectName *
What am i missing here?
|
| | 11 answers | Add comment |
Thursday, 5 June 2008
|
| DSRA8100E: Unable to get a PooledConnection from the DataSource Zarina Bothello 08:54:40 |
| | i am running WAS 5.1.1.3 . I have MS SQL Server 2000. All this is installed on a windows 2003 machine. after setting up all the JDBC connection pools and the container managed aliases when i start up the server i see the following error:
would any one know what the cause of this error would be:
[ [8/4/06 9:48:34:070 EDT] 523ea380 WSRdbDataSour E DSRA0010E: SQL State = 08S01, Error Code = 0
[8/4/06 9:48:34:070 EDT] 523ea380 FreePool E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/WPDS, throwing ResourceAllocationException. Original exception: com.ibm.ws.exception.WsException: DSRA8100E: Unable to get a PooledConnection from the DataSource. with SQL State : 08S01 SQL Code : 0 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code)) at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code)) at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:501) at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:544) at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:772) at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:765) at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1333) at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1134) at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1754) at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:712) at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:465) at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:242) at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:215) at com.workpoint.server.ConnectContext.getConnection(Unknown Source) at com.workpoint.server.ConnectContext.connect(Unknown Source) at com.workpoint.server.ConnectContext.<init>(Unknown Source) at com.workpoint.server.ConnectContext.<init>(Unknown Source) at com.workpoint.server.ejb.MonitorPvtBean.addMonitor(Unknown Source) at com.workpoint.server.ejb.EJSRemoteStatelessMonitorPvt_EJB_b995c03e.addMonitor(Unknown Source) at com.workpoint.server.ejb._MonitorPvt_Stub.addMonitor(_MonitorPvt_Stub.java:267) at com.workpoint.client.Monitor.addMonitor(Unknown Source) at com.workpoint.monitor.support.AbstractMonitorThread.start(Unknown Source) at com.workpoint.monitor.support.ScriptMonitorThread.run(Unknown Source) Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write errorDSRA0010E: SQL State = 08S01, Error Code = 0DSRA0010E: SQL State = 08S01, Error Code = 0 ... 25 more ---- Begin backtrace for nested exception java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write errorDSRA0010E: SQL State = 08S01, Error Code = 0DSRA0010E: SQL State = 08S01, Error Code = 0 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code)) at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
|
| | 2 answer | Add comment |
Friday, 9 May 2008
|
| Re: no return from AdminControl stopServer Cass Bishop 08:49:42 |
| | I'm using WAS 6.0.2.9 ND on solaris.
|
| | 4 answer | Add comment |
|