1 2 3 4

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, ...

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 ...

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 ...

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 ...

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 ...

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....

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?

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 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 ...

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] ...

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: ...

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 ...

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 ...

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 ...

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.

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?

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, ...

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 ...

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" ...

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 ...

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 ...

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

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" ...

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 ...

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 ...

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 ...

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 ...

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 ...

Issue with Sun Java System Application server

1343 byte By j2eetoona at 2007-10-2 16:48:21
One of the project has a problem with Sun Java System Application server and Windows Server 2003 SP1. Here are some details about the problem the project is facing. The project is a configurable helpdesk project developed in Java and CORBA. The list of software used/installed is as ...

ClassLoader problem

914 byte By bgOnlinea at 2007-10-2 16:21:16
Hello,I have a package containing a Class GenericService which is an abstract Class.This Class contains a generic method that uses the introspection to instantiate some business objects.I have a webapp containing a specific Service extending the GenericService.My package is deployed on the lib ...

AVK Test Suite

257 byte By pardha_smarta at 2007-10-2 15:43:01
I am new to using AVK.When I download AVK , it is coming with default application server.But I am using oc4j application server. Is there any separate copy of AVK for download for application servers other than sun servers.Pardha

Sun One - Weblogic interoperability

425 byte By echurleya at 2007-10-2 15:38:32
I have a web app on Sun One. I am trying to use an EJB on a weblogic server. I get the following error.Unexpected exception in LoginManagerHome:org.omg.CORBA.INITIALIZE: can't instantiate custom socket factory: weblogic.corba.client.cluster.ORBSocketFactory vmcid: 0x0 minor code: 0 completed: ...

UnsupportedClassVersionError

710 byte By Dick_Adamsa at 2007-10-2 14:31:26
I'm having a build failure while running Ant on a HP-UX machine. Here's the output. Everything works OK until Ant invokes the compiler. Clearly, somethign is out of synch, but I don't know where to start looking.init:[delete] Deleting directory ...

Maven Tutorial

348 byte By AshwinRa at 2007-10-2 13:40:54
Hi guyz,I've been hearing and seeing that many opensource projects have been shifting towards Maven as their project maintainence tool.But i couldn't find any reasonably good tutorial.Can any one of you forward me a link of good tutorial with examples.Tutorial that i found on Apache Website ...

hot deploy Tomcat + Task ANT

136 byte By Felipe.Gauchoa at 2007-10-2 13:11:50
Dear friends,where can I find information about how to configure the hotdeploy on Tomcat - preferably using an Ant task...

What is better Database or Messages(JMS)

118 byte By vishal_ka at 2007-10-2 13:07:44
What is better communication between two existing systems or internal systems, DATABASE(FILE) or MESSAGES(JMS)?

error deploying RAR on AS8 (runs fine on JBoss4)

3225 byte By thomasRa at 2007-10-2 13:01:05
(This thread moved here from Sun System Application Server - Migration)Hi Vikas.Below is an excerpt from the verifiers results file:<failed><test><test-name>tests.connector.ConnectorArchiveClassesLoadable</test-name><test-assertion>All classes in this Connector ...

Urgent : AVK throws OutOfMemoryError during static-archive-test

598 byte By BVermaa at 2007-10-2 12:35:26
I trying to perform static analysis of an enterprise application (bundled as ear) currently running on weblogic.After the tool extracts all the libraries in temporary directory, it stops in the middle complaining OutOfMemoryError.I tried to increase the amount of memory by adding -Xmx1500m at ...

Call an "WIN EXE" from a remote app running on LINUX

703 byte By robicha at 2007-10-2 12:15:55
Hi all.My question is not "strictly java", but I think it can be interesting anyway...I have a web app, that I can deploy both on win and on linux.From this application, I have to make a remote window executable start.If the web app is deployed on win, I simply ...

Listener port could not be started.

8305 byte By matchaa at 2007-10-2 11:46:11
Hello , I am using JMS,MDB and IBM MQSeries with Websphere Application server 6.0. i have configured every thigh in WAS like MQQueue connection cactory and MQQueue Destination. After that , i have configured listener port for the message driven bean. .configuratin's are :Application servers ...

AVK: How to initialize Context

2398 byte By Juliusa at 2007-10-2 10:44:01
Hi All,I have a question regarding the result of code-scan process in AVK.I got my code migrated by AVK and got commented on some part, which is necessary to be executed, could anybody please tell me the reason or give a reference regarding this issue. The code snippet:private void ...

About maven and comm.jar

301 byte By John_Willmera at 2007-10-2 10:28:32
Hi.I'm having problems using serial ports in my application. I've installed the files comm.jar, javax.comm.properties, and win32com.dll in the jdk; but they don't work.My application is based in maven, and I am using Apache Tomcat.What can I do?Thanks in ...

war and ear deployment problem

1028 byte By dremer1a at 2007-10-2 8:56:21
hi,I got a war and ear that share common classes. I would like to deploy both of them on the same application server.I started with weblogic and it worked fine.Now I am running it on Websphere - the problem is the ear application failed to start - it cant find one of it's property files even ...

Deploying an EAR file

248 byte By vemulaza at 2007-10-2 8:54:20
Hi The Sun app server says that the location of my application is ${com.sun.aas.instanceRoot}/applications/j2ee-apps/SMAP_1can anyone please tell me as to what do i type on the browser to view my applicationThanks

File.exists() failing on Windows XP SP 2 ?

688 byte By warelocka at 2007-10-2 8:37:04
I presume I am mising something stupid here ... we are deploying a Web app on Tomcat on Windows XP, service pack 2. We are using File.exists() in a class called by a servlet to determine if a mapped network directory is available. When we launch Tomcat as a service at startup, exists() in our ...

First Example of Portal/Portlets

182 byte By java_usera at 2007-10-2 8:30:47
hi all,i am using WSAD (WebSphere) as a tool and new to Portal........can anyone help me how can i create my first Portal example and run it on WSADthanxs

pls help me

76 byte By DHANYAa at 2007-10-2 8:18:19
HI,How can i send table name in response object in a JSP page?

help in HSSF

375 byte By DHANYAa at 2007-10-2 8:13:37
Hi, Can i use HSSF code inside my JSP? I have a JSP page which fetches data fom database(using servlet) and displays as HTMLtable in the same JSP page itself. Now i want to save this table as Excel by clicking a button.Can i include HSSF code in JSP itself may b in a function which gets called ...

Sun one application server packging and deploying

289 byte By killbilla at 2007-10-2 8:05:56
peace be up on you ,i am using sun application server , i have create an ejb class , home and remote interfacesalso a client class and an jsp file to access this ejb, but i don't know how to use the applilcation server to backge them and to test them after deployment

J2EE Application Client Container

427 byte By LvcidoDeva at 2007-10-2 7:40:55
Hi everyone,I've three questions about J2EE Application Client Container.1) What do I have to install into the client computer so that my J2EE client application can run?2) Can I install my client application and also the client container through Java Web Start?3) Can I develop a (remote) ...