Help coderanch get a
new server
by contributing to the fundraiser

Supradeep Makam

Greenhorn
+ Follow
since Jan 14, 2009
Supradeep likes ...
Eclipse IDE Firefox Browser Java
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 Supradeep Makam

Hi,

I am new to jboss server. I am working on a servlet which queries the database and prints the result on the screen.

This servlet works fine with Tomcat server, but in jboss i get a search screent when i query for the results i get blank screen. When i do a view source on it i can see only the meta tag.

I checked in the debug mode, the print writer gets the values as expected.

Has anybody encountered this issue with jboss server.
13 years ago
Jelle / Jeanne ,

Thanks for your help. I am using @BeforeClass method for loading common data, this works fine now.
13 years ago
Hi,

I am new to JUnit test cases. I am writing junit test case for one of the java batch program.

I need to load data from database to heap memory in order to run the test case. Right now i am using setUp() method to do this, but i need to repeat this for all the test cases which increases the time of testing and some times i get the heap space error.

My question is, can i load all the data required once and keep it on heap till all the test cases gets completed?

I couldn't find any help on net in this regard. Have anybody faced this situation and is there any method to overcome this?

Thanks

13 years ago
I am also facing the same problem with Firefox. Applets work fine in IE but not on Firefox.
13 years ago
Kashif ,

Thanks for your reply.

plugin-cfg.xml file on IHS is updated. Should i change the virtual host settings in httpd.conf file?

Right now only one virtual host is configured.

<VirtualHost ice.test.taa.com:80>
ServerName ice.test.taa.com
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
</VirtualHost>
14 years ago
Issue got resolved. That error was because of incorrect manifest.mf file.
14 years ago
Hi,

How to route the requests to Websphere Application Server through IBM Http Server? I have configured the IHS to listen on port 80; i have mapped the web application to both appserver node and IHS node. When i use the url http://ice.test.taa.com/nemodev/was7 to access the application i am getting the following error

Not Found

The requested url /nemodev/was7 was not found on this server.
--------------------------------------------------------------------------
IBM_Http_Server at ice.test.taa.com Port 80.

Environment Used:
Websphere Application Server 7
IBM Http Server 7


Any help in this regard is appreciated.


14 years ago
Hi,

I have a application built using applets and swings. This application is invoked from a html file (<applet code="pkg.util.MyApplet.class" width=256 height=256 archive="swiftsapp.jar"></applet>). I made some code changes and rebuilt the jar , when i invoke the application using new jar file i am getting the following exception.

If i replace the new jar with old jar then the application is working fine.


java.lang.ClassNotFoundException: pkg.util.MyApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: \pkg\util\MyApplet\class.class (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more


Any help in this regard will be appreciated.
14 years ago
Issue resolved.

The file block size was limited to 4000 KB on the UNIX box(for the webadmin id). Changed the file block size to unlimited, now i am able to install the application from admin console.
14 years ago
Hi Paul,

Thanks for your reply. Yes even i tried doing that way... I FTPed the war file to installableApps folder (/usr/local/opt/was/was70/installableApps) on UNIX server, and tried to install from that path, while i do this I am getting this exception / error "IWAE0037E Could not open /usr/local/opt/was/was70/profiles/dmgr/wstemp/-97152682/upload/eci_dev_wr0705110808.war ".

Does this issue have something to do with WAS install paths?

I found similar error on IBM site (which occurred while installing a RAR (resource adapter) from the Admin Console)

http://www-01.ibm.com/support/docview.wss?uid=swg21229538

14 years ago
Hi,

We are migrating our application from Websphere 5.1 to Websphere 7.0. Getting File Upload Error while trying to deploy our application.

When we try to install the application from the local path (i.e, from windows using Admin Console) we are getting the following error
“Error 500
Message: org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. File too large (errno:27)”

When we try to install the application from the remote location (from UNIX) we are getting the following error

“com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException: IWAE0037E Could not open /usr/local/opt/was/was70/profiles/dmgr/wstemp/-97152682/upload/eci_dev_wr0705110808.war

The .war file i am trying to upload is ~20MB.

I am able to deploy the default web application supplied by along with WAS.

Any inputs / suggestions will be helpful.

Thanks

14 years ago