Bikash Paul

Ranch Hand
+ Follow
since Dec 04, 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 Bikash Paul

Hi,

I'm working on very old application which is deployed in WAS5.1. I'm getting very weird behavior from WAS5.1.

I was getting below error so I have changed the res-sharing-scope of the connection to be 'Unshareable' in the web.xml file but after deployment I can see it becomes 'Shareable' in the web.xml file.

[6/12/12 16:52:42:336 CDT] 2c7824d9 SharedPool I J2CA0086W: Shareable connection MCWrapper id 7426e4ff Managed connection com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@2e1a24ff State:STA
TE_TRAN_WRAPPER_INUSE
from resource jdbc/AIPOnlineDB was used within a local transaction containment boundary.

Here is the code snippet from web.xml file




Could you please give me any clue why WAS5.1 is behaving like this.

Thanks,
-Bikash
11 years ago
Hi,

I'm getting the same exception so could you please let me know the resolution.

Thanks,
-Bikash
11 years ago
Hi,

I have verified that I spelled it correctly. Our application jar contains this class in same package structure how it's mentioned in the ejb-jar.xml file.

I have also verified in the C:\jboss-3.2.7\server\default\deploy\rpm11.ear\rpm11.jar\com\retek\rsm\external\service folder

and the SecurityDisplayableReferenceServiceEjb.class exits in that location.

Thanks,
-Bikash

12 years ago
I'm getting below error during deployment of my ear file.



The entry in ejb-jar.xml file:


Could you please give me some clue why JBOSS is complaining.
12 years ago
Hi,

I'm getting below error in the SystemOut.log file during starting WAS5.1 sever



Could you please give some clue why it's complaining for the Session Manager configuration.

Thanks,
-Bikash
12 years ago
Hi,

Can anyone please give some clue on this issue.

Thanks,
-Bikash
12 years ago
Hi,

WAS5.1 has option to create JNDI. As I have mentioned earlier that it's a pretty old application and and it's working fine with ejb references in the web.xml file.

And it is also working fine with below connection class:




But the problem is WAS throwing default warning message in the log file due to absence of resource-ref.


So to avoid that warning message we introduced resource-ref and after we started getting below exception in the log file.



Could you please give us some clue why WAS is looking for 'jdbc/sessions'.
12 years ago
We have very old application running on WAS5.1. We used to use properties file to get the DB connection information. Due to some issues now we are trying to use DataSource of WAS.

Accordingly we modified our code to get the DB connection through DataSource. We have used resource-ref to avoid WAS default warning.

Here is the code snippet:


But during running the application we are getting below error:


[1/13/12 16:26:59:545 CST] 214aa0e8 SessionContex E SESN0043E: BackedHashtable: problem obtaining the configured datasource. Ensure that you have properly co
nfigured a datasource. When Session Manager persistence is enabled the Session Manager configuration must contain a valid datasource.
[1/13/12 16:26:59:593 CST] 214aa0e8 SessionContex E Exception is: javax.naming.NameNotFoundException: Context: mspdev23aipdev112a/nodes/mspdev23aipdev112a/se
rvers/server1, name: jdbc/Sessions: First component in name Sessions not found. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.o
rg/CosNaming/NamingContext/NotFound:1.0



We couldn't understand why WAS is looking for "jdbc/Sessions"
12 years ago
Hi,

Thanks!!!

The below mentioned URL in the rwptaglib.tld file doesn't exists anymore.



They changed the DTD file name to "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"

So compilation exception disappeared after modification in the name of DTD file.

Thanks,
-Bikash
12 years ago
Hi,

We have one very old application which is running on Tomcat3.2. We have modified one of the JSP file(wb.jsp) recently and after that we started getting below error during loading of application but the error disappeared if we revert back the original file. Then we found that Tomcat is using old compiled file from 'work' folder becuase if we clean up 'work' folder of Tomcat then also we are getting below compile exception.We also verified physical location of rwptaglib.tld file.


Could you please let me know the root cause of this issue.

Thanks,
-Bikash
12 years ago
Could anyone please guide me how I can do that.

Thanks,
-Bikash
Hi,

I'm new to this hibernate world. I'm writing one hibernate mapping file to fetch the data from a table(SUPS). But I want to put two conditions in where attribute on the class element.

I want my hibernate mapping file should work as below SQL query:

select SUPPLIER,SUP_NAME from SUPS where SUP_STATUS = 'A' and SUPPLIER_PARENT IS NULL;

My Hibernate mapping file(SupplierImpl.hbm.xml):




I could put only one condition in the where attribute but couldn't find how I can put the other condition.I'm using Hibernate-Version: 2.1.7.

Could you please guide me how I can put the other condition.

Thanks,
-Bikash
Hi,

Thanks!!!
After long time I'm working on html form thats why I forgot.

Regrads
Bikash
Hi,

I'm facing a problem with line wrapping in cloumn. In my html form I want to disable line wrapping for particular column in any resolution of window screen. Can any one please guide me how I can do that?

Thanks
Bikash
Hi All,

Thanks for your reply.Now it's clear to me.

Thanks
Bikash
17 years ago