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 ...
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 ...
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 ...
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 ...
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 ...
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" ...
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
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 ...
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 ...
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" ...
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 ...
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, ...
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?
how to create dispatch action uring button in struts.
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 ...
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 ...
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 ...
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: ...
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] ...
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 ...
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 --> ...
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?
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....
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 ...
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 ...
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 ...
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 ...
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, ...