Gopikrishna Kunisetty

Ranch Hand
+ Follow
since Jun 12, 2008
Merit badge: grant badges
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Gopikrishna Kunisetty

I understand this is old thread, but I didn't see the answer for the problem with using Struts 1.1. In this situation to turn off autocomplete we can use the autocomplete in this format:
<html:text size="46\" autocomplete=\"off" maxlength="18"/>
The tricky part here is introduction of "\" (backslash) before and after autocomplete attribute
12 years ago
Hi,

I'm maintaining a Websphere Application Server based J2EE application which has Web aswell as EJB modules. My application has many entity beans. We are planning to migrate the application from IBM platform to SAP platform. I'm looking for the guidelines/ case study docs / proceudures to successfully migrate all the components of my Websphere based application. Does anyone had done similar exercise or have any knowledge on the same, please share here.

Thanks,
Gopikrishna
13 years ago
Hi,

I'm getting exception whenever I try to insert data into a BLOB column. When the data size is less than 4KB it is going fine, but when it is more than 4KB. It is failing.
I'm using WSAD 5.1, Oracle 10g , Java 1.4.
Here is the exception:

com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@68f4808e
at com.ibm.ws.ejbpersistence.dataaccess.DataAccessRequestImpl.execute(Unknown Source)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanStatefulInstanceExtensionImpl.executeCreate(Unknown Source)
at com.ibm.ws.ejbpersistence.beanextensions.CBNotExistState.ejbCreate(Unknown Source)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanStatefulInstanceExtensionImpl.ejbPostCreate(Unknown Source)

Caused by: java.sql.SQLException: Cannot bind stream to a ScrollableResultSet or UpdatableResultSet
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:190)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:286)
at oracle.jdbc.driver.OraclePreparedStatement.setBinaryStreamInternal(OraclePreparedStatement.java:9705)
at oracle.jdbc.driver.OraclePreparedStatement.setBinaryStream(OraclePreparedStatement.java:9687)
at com.nytimes.adtimespro.business.ejb.entity.workorder.websphere_deploy.ORACLE_V8_1.BlobTableBeanFunctionSet_578a1a3e.Create(BlobTableBeanFunctionSet_578a1a3e.java:40)
at com.nytimes.adtimespro.business.ejb.entity.workorder.websphere_deploy.ORACLE_V8_1.BlobTableBeanFunctionSet_578a1a3e.execute(BlobTableBeanFunctionSet_578a1a3e.java:271)
at com.ibm.ws.rsadapter.cci.WSInteractionImpl.execute(WSInteractionImpl.java:417)
at com.ibm.ws.rsadapter.cci.WSRelationalRAAdapter.executeCreate(WSRelationalRAAdapter.java:130)
... 41 more

Does any body has an idea about this issues? please share your experiences.
May be this might be the case for your error:

A 403 status code indicates that the client cannot access the requested resource. It means the wrong username and password were sent in the request, or that the permissions on the server do not allow what was being asked.

Ensure, that you are into a user group that has the access to the requested resource. Your user group should be in the <auth-constraint> element of corresponding web resource. Hope this will resolve your problem.
15 years ago
Please check your personal message.
15 years ago
After moving the images location, are you able to load images into your page.
I'm able to export images to .war file..
15 years ago
If you donot need login mechanism, you need not to configure your web.xml with the optional <login-config> element. So, try removing this part from your xml file.

<login-config>
<auth-method>BASIC</auth-method>
<realm-name>weblogic</realm-name>
</login-config>

And let us know, if you are still facing any issues.
15 years ago
Try moving the images location from WEB-INF/resources to some thing which is on the same line as WEB-INF. The reason is ,WEB-INF directory
is a 'special' one; anything under it is not to be served directly to web clients.
15 years ago
I found the solution. But, I'm not sure that why it happened. I've removed google web accelerator from my system and surprisingly, I'm able to launch my application.
15 years ago
I'm unable to access my application. I'm getting the following exception:

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 501"

at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)

at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)

at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)

at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)

at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCacheEntryTemp(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source)

at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.launch(Unknown Source)

at com.sun.javaws.Main.launchApp(Unknown Source)

at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

at com.sun.javaws.Main$1.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Any suggestions.
15 years ago
I've question regarding ejbPassivate() method. What happens to the non-transient and non-serializable elements, when the container calls the ejbPassivate().
JSp
Hi,

Inside a jsp page you can declare method inside the following structure.
<%! declaration %>

ex:
<%!
public String helloWorld(){
return "Hello World";
}
%>
<%= helloWorld() %>

Note: check this link http://java.sun.com/products/jsp/tags/11/syntaxref11.fm3.html:
15 years ago
JSP
I've question regarding ejbPassivate() method. What happens to the non-transient and non-serializable elements, when the container calls the ejbPassivate().
Hi Deepak,

Try with the complete class name i.e. packagename.classname
15 years ago
JSP
Hi there,

I've cleared SCWCD 5.0 2months back. But till now I haven't received my physical certificate from SUN. Does anyone knows the process for, whom should I contact in order to get my certificate.