1 2 3 4

struts, hibernate, mysql problem

481 byte By chun49@hotmail.coma at 2007-10-2 16:55:55
I am using eclipse, struts, hibernate, mysql, tomcat to run my web application. When I try to run more than one application that using hibernate, then all the application will hang. I am only able to run one application at a time and keep changing the host in server.xml if I want to run other ...

package org.apache.struts.validator does not exist

775 byte By Ekbote_Aa at 2007-10-2 17:00:41
Hi,I am new to struts. Currently i am working on Struts validator framework.I have a class called "SubmitForm.java " that extends ValidatorForm .I have included the statement "import org.apache.struts.validator.ValidatorForm" as well in my code.I get the following error when i compile my code ...

Wat is this error abt?

922 byte By redqueena at 2007-10-2 17:09:56
Hi Guys, I am awfully new to j2EE and try compiling a very simple code in the book.. but it doesnt seem to work.. may I know why?Many thanks!! regardsHenryThe code giving this error is:HelloHome home = (HelloHome)javax.rmi.PortableRemoteObject.narrow(ctx.lookup("Hello"), HelloHome.class);Error ...

Setting to many jars in classpath

373 byte By tapan_195a at 2007-10-2 17:15:23
Hi,I am having a tough Q ahead me. Suppose my application uses some 50 jar found in c:\jars folder. now in classpath i have to set all the jars one by one e.g. c:\jars\1.jar;c:\jars\2.jar;c:\jars\3.jar ...etc. Now adding 50 jars and again accessing all those jars from Classpath from a java file ...

Problem with Tomcat sessions

349 byte By Glammya at 2007-10-2 17:17:08
I'm using Tomcat 5.5. and when two or more users browse the application at the same time, the sessions are being "mixed". I.e. one of the users sees the page that the other is _currently_ browsing. After he clicks a link again, he is back into his account. I can't tell for sure that it is ...

login screen in struts and mysql database

1538 byte By mill3prog7a at 2007-10-2 17:52:28
This coding is used for only jsp page like login screen. Now i want to use this coding in struts and mysql. will u please help how can i use this coding in struts. please help meIndex.jspAdmin : <input type="text" name="admin_name" size="22" value="">Password : <input type="password" ...

How to find IP allocated to windows OS through java code

198 byte By jack08a at 2007-10-2 18:27:57
Hi,I want to find no of IPs allocated to windows OS through java code. How i can do this.Please give me idea.any help will be appricated.Thanks in advanceRavi Adha

SSLPermission

432 byte By Jamaxa at 2007-10-2 18:42:31
Hello everybody,The application I am working on works OK on Tomcat, but when I try to deploy it on Sun AS (platform and enterprise edition) I get the following exception:javax.servlet.ServletException: access denied (javax.net.ssl.SSLPermission setHostnameVerifier)I suppose I should grant some ...

com.mysql.jdbc.CommunicationsException in JBoss

3303 byte By henninga at 2007-10-2 18:48:45
Hi!I have a problem withmy JBoss server after running several hours and then using it again. the following exception is thrown when I try to communicate with the databasecom.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:** BEGIN NESTED EXCEPTION ...

Changing the context root for application

922 byte By piampria at 2007-10-2 18:52:44
Hi,I've deployed my application to Weblogic 8.1 server. But in order to access it I have to input the following URL: http://localhost:7001/Servlet_Ex03/WebRoot/I don't want to include the "WebRoot" fragment so I created a weblogic.xml file which looks like this :<?xml version="1.0" ...

Stack Overflow Error - URGENT

1652 byte By TanmayCreationsa at 2007-10-2 18:59:46
Problem Scenario :We have a J2EE application, which has a front end developed in Java Swing with usage of heavy graphics & managed by the weblogic server. There are several application details in the Hash-Maps containing with nested Hash-Maps & Hash maps contains the Serializable Java ...

problem with ActionMessages in struts validator

5314 byte By clorindoa at 2007-10-2 19:41:11
hello, I am developing an application web with struts and I have the following problem:org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object,org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessages, ...

Auto deployment of native libraries

183 byte By bbqfritoa at 2007-10-2 19:46:13
i want to be able to put <a native library> inside my <war file>, is there a way for the webapp server to automagically put the native library in the correct place?

regarding dispatch action in struts

60 byte By NSundarama at 2007-10-2 20:11:54
how to create dispatch action uring button in struts.

AVK is not working properly. java.lang.NullPointerException is displayed

6467 byte By Archievetesta at 2007-10-2 21:13:32
Hi,I Installed AVK. I am doing static varification. when i am running build.xml file it is giving following error.E:\CruiseControl\cruisecontrol-bin-2.4.1\projects\wsc\build.xml:122: The following error occurred while executing this ...

AVK is not working java.lang.NullPointerException is displayed

6418 byte By Archievetesta at 2007-10-2 21:13:33
Hi,I Installed AVK. I am doing static varification. when i am running build.xml file it is giving following error.E:\CruiseControl\cruisecontrol-bin-2.4.1\projects\wsc\build.xml:122: The following error occurred while executing this ...

sun.misc.InvalidJarIndexException: Invalid index

4735 byte By irenasha at 2007-10-2 22:24:58
Hi there,I am trying to run static portion of the verifier and am getting the error below back.I am using following JDKjava version "1.4.2_10"Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)I've noticed similar BUG ...

java.lang.SecurityException: invalid SHA1 signature file digest for com/cry

2832 byte By irenasha at 2007-10-2 23:36:07
While running AVK I've got following error reported on 3d party code we are using. Is there anything that I can do to resolve this issue?Thank you in advance,IrenaError Name : com.sun.enterprise.tools.verifier.tests.web.WebArchiveClassesLoadableError Description : java.lang.SecurityException: ...

java.lang.OutOfMemoryError : URGENT

675 byte By __Taha__a at 2007-10-2 23:50:36
While performing a portability test to an EAR file, I have always the java.lang.OutOfMemoryError exception after the seven jar.......I did added this : "-Xms1200M" "-Xmx1200M" "-XX:+UseParallelGC" to the asant script but no effects :-((here is the error [exec] java.lang.OutOfMemoryError [exec] ...

AVK does not find common libraries

943 byte By gkerstena at 2007-10-3 0:30:44
In our current JBoss application we have commons-logging.jar in a lib directory common to all WebApps. Now we run AVK 1.4.2 prior to a migration. How to tell AVK about this common lib? Once it helped to copy it into C:\j2sdk1.4.2_08\jre\lib\ext, but now not even that helps. AVK just ...

Not able to run validation using validation.xml & validator-rules.xml

6350 byte By Vijendra_Babara at 2007-10-3 0:34:25
Hello Friends,I am not able to run validation using validation.xml & validator-rules.xml. Entire code in running prefectly but no error messages are prompted.Following is my code: File Name : struts-config.xml <struts-config> <!-- Form Beans Configuration --> ...

AVK 1.4.2 and EJB 1.1

291 byte By m74neta at 2007-10-3 1:27:24
We get lots of EJB failures with AVK relating to the EJB 2.1 specification. However, the EJBs that we are testing are 1.1 EJBs. AVK seems to assume that they are 2.1 EJBs. Each module has its own EJB 1.1 ejb-jar.xml descriptor.How can we get AVK to correctly test our 1.1 EJBs?

j2ee connector architecture

247 byte By abhaypawanea at 2007-10-3 4:53:46
hello alli want to do final year project on "connector architecture"but dont know what exactly to do on it.can any one suggest any live example to implement or anything u can suggest me..thanking u in advance....

Multiple Wars in Ear -URL

436 byte By nainaa at 2007-10-3 6:02:56
Hello all,I am having an ear having 2 wars.I need that the unique context for both war.I have heard context name are war level not ear level.Is it correct?If that is the case then can it be possible that if a.war nad b.war in an EAR then URL: http://ip:port/a/x.html for ...

AVK1.4.2 install hangs

701 byte By forresterta at 2007-10-3 6:35:25
Windows XPSun JavaSystem Application server 80001when installing AVK the wizard allows me to update an existing version of the AS rather than choose to insall vesrion 8.2I select to use the existing version and then give it the location, admin apssword etc (all the details are correct) then ...

Websphere EAR deployment-classloader problem

1133 byte By RDX@NASTECa at 2007-10-3 6:47:57
Hello,I am trying to deploy an EAR file in WAS 6.1 which is having 1 ejb jar, 1 war and some utility jar files. EAR structure is as following...EAR\testj2ee-ejb.jarEAR\jars\commons-codec.jar, commons-collections.jar, commons-configuration.jar, commons-fileupload.jar, commons-lang.jar ...

How to create relationships within tables using hibernate/mysql

1091 byte By srins_2001a at 2007-10-3 8:41:25
Hi,I need to create following relationships between tables i have below.I am new to hibernate.I am using Mysql as database.These are the following table with relationships.Need to write create,select,update query for these relationships between table.Bran_comm ...

How to extend AVK to scan for other vendor-specific APIs?

1135 byte By caddya at 2007-10-3 9:51:46
All--How do I extend AVK to scan for other vendor specific APIs. I tried adding another <name> element underneath the appropriate the <unsupported> tag in the asmt-config.xml file, ...