Ananth Prakash

Greenhorn
+ Follow
since Apr 03, 2006
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 Ananth Prakash

I have a need to force a newline character in a PDF formatted Jasper Report. I tried putting "\n" in the output of the query string but I just dont see a new line coming up.

I also heard that Jasper uses iText (http://www.lowagie.com/iText/) for PDF generation. There is a new line in iText (a static member of the Chunk class) so I used that in my report. I imported com.lowagie.text.Chunk and then use Chunk.NEWLINE on my report. But this dint help me either.

I also tried using System.getProperty("line.separator") for my OS level new line. But even this dint help.

Could somebody pls let me know the solution for it? Its quite urgent.
I have deployed a WSAD5.1.2 .ear file in WAS6.0 server. The application deployed succesfully. But there have been erros while loading the .war file from the .ear file. There seems to be a problem while Parsing the .tld files. I have seen a thread talk on the same but I have'nt found a resolution on the same. The error is given below. Please help me out...

BossLog: { 0066} 2006/12/01 19:45:24.189 01 SYSTEM=D102 SERVER=WCS022 PID=0X04000EBD TID=0X15D7CCB0 0X00001B c=UNK
./bborjtr.cpp+932 ... Failed to parse Tag Library [cmsMenus.tld]: JSPG0036E: Failed to find resource
file:/ssw/zWebSphere/v6r0m2/WCQ2CFG2
/AppServer_Node2CQ/profiles/default/installedApps/Cell_CMS_QA/WCS022_S01_CMS.ear/CMSWeb.war/cmsMenus.tld com.ibm.ws.jsp
logParseErrorMessage
BossLog: { 0067} 2006/12/01 19:45:24.191 01 SYSTEM=D102 SERVER=WCS022 PID=0X04000EBD TID=0X15D7CCB0 0X00001B c=UNK
./bborjtr.cpp+932 ... jsp warning failed to load tld at [cmsMenus.tld]
BossLog: { 0068} 2006/12/01 19:45:24.195 01 SYSTEM=D102 SERVER=WCS022 PID=0X04000EBD TID=0X15D7CCB0 0X00001B c=UNK
./bborjtr.cpp+932 ... jsp warning failed to load tld at [cmsMenus.tld]
17 years ago
If you are using WSAD5.1 right click on the Java Bean and say deploy as web service. The new methods you added would automatically exposed a web service
17 years ago
I tried setting the same arguments but still I get the dump core.
I have some interesting observations which might help.
When I start the server in debug mode, the server starts up without any problem.
When I make an EAR( after the server ha dumped core) and install it on WAS server, I dont have any problems.

I just dont understand why, the WSAD server dumps core when started normally, with the scenario mentioned in my previous mail.

Could you pls give me any more leads?
17 years ago
I am exposing EJB as a webservice. When I'm deploying the EJB as a webservice using WSAD, the server when starting dumps core with the following exception.

JVMDG217: Dump Handler is Processing a Signal - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\javacore.20060427.161130.2920.txt
JVMDG215: Dump Handler has Processed Exception Signal 11.

On exploring the Core Dump files I have seen some parsing errors in the Symbol Table class which I had no clue of.
There's an interesting twist here though. When I reduce the number of variables in my EJB classes to a certain number, the service is deployed and the server gets started properly. But when I increase the variables by 1, after a certain limit th server dumps core and fails to start. I have no clue why its happening.
I tried putting WSAD fix pack 9 but even then I had the same problem. I need toadd some new variables but am unable to do it due to this error. Could anyone pls help?
17 years ago
I am exposing EJB as a webservice. When I'm deploying the EJB as a webservice using WSAD, the server when starting dumps core with the following exception.

JVMDG217: Dump Handler is Processing a Signal - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\javacore.20060427.161130.2920.txt
JVMDG215: Dump Handler has Processed Exception Signal 11.

On exploring the Core Dump files I have seen some parsing errors in the Symbol Table class which I had no clue of.
There's an interesting twist here though. When I reduce the number of variables in my EJB classes to a certain number, the service is deployed and the server gets started properly. But when I increase the variables by 1, after a certain limit th server dumps core and fails to start. I have no clue why its happening.
I tried putting WSAD fix pack 9 but even then I had the same problem. I need toadd some new variables but am unable to do it due to this error. Could anyone pls help?
17 years ago
In the server configuration, go to the security tab. In the JAAS Authentication Entries section, add a entry specifying a alias name for accessing the DB along with your DB user name and password.

Something like this
Alias: localhost/DB2Auth
Username: <DBUserName>
Password: <DBPassword>

Now, in the DataSource tab, you would have two fields by name, 'Component-Managed Alias' and Container-Managed Alias'. From the dropdown, select the JAAS Authentication Alias value you have just created.

Restart the server and you would be all set.
17 years ago
I am using WSAD 5.1.0 to develop my appln. When i tried to explore the JNDI through the servlet which connects to a DB2 database and displays records from a table, I'm getting the expected result. But in the server's console window, I am seeing the following error message:

"Resource reference jdbc/Db2TDataSource could not be located, so default values of the following are used: [Resource-ref settings]
Resource reference jdbc/sbtdatasource 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),"

In my web.xml file, I have given a reference name to the JNDI name 'jdbc/DB2TDataSource' and I'm using the reference name in the Initial context lookup. The code snippet goes like this.

InitialContext ctx = null;
ctx = new InitialContext();
ds = (DataSource) ctx.lookup("java:comp/env/jdbc/DB2TDataSource");

I had read in the earlier postings that I need to use a Resource reference value in the Initial Context lookup for this error to stop. But I still get the above error in my console window.

Need help in this regard.

Regards,
Ananth
17 years ago