1 2 3 4

datasource problem

1052 byte By talktoamit80a at 2007-10-1 20:04:40
hi all, i am new to java struts........... when i am connecting my application with the database(MS Access)it gives the error as :Aug 3, 2005 7:42:19 PM org.apache.struts.action.ActionServlet initModuleDataSourcesSEVERE: Initializing application data source Ajava.lang.NullPointerExceptionwhere ...

Error in EJB running on WebSphere Application Server v6

7015 byte By jorgej77a at 2007-10-1 20:13:14
Hi,I am getting the following exception when a transaction ends inStateless Session EJB:[8/4/05 13:04:00:396 CDT] 0000004d LocalTranCoor WWLTC0033W: ResourceimssDS rolled back in cleanup of LocalTransactionContainment.[8/4/05 13:04:00:406 CDT] 0000004d LocalTranCoor WWLTC0032W: One or morelocal ...

WEB Service and .NET client problems

741 byte By Maris_Orbidansa at 2007-10-1 20:16:39
HiI have deployed a WEB Service on SUN AS PE. For some reason I cannot invoke it from .NET client.This exception is thrown by WS implementation:[#|2005-08-04T22:28:12.294+0300|SEVERE|sun-appserver-pe8.1_02|com.sun.xml.rpc.server|_ThreadID=22;|unexpected element name: expected=String_1, ...

Resetting ActionForm

962 byte By Nilesh.Choudharia at 2007-10-1 20:41:20
Hi all,First of all i had lot of trouble searching for this topic (if anyone as posted this topic already or not?). Anyways i have two forms "emp.jsp" and "empconform.jsp", what is happening is in "empconform.jsp" you can save data to Database or if you find something wrong you can go back to ...

ejb-link

1556 byte By binarymonk_01a at 2007-10-1 21:14:04
ah, didn't know this forum existed - forgive the cross post from EJB Beans forum:Hello all,I'm trying to use the 1.4.1 AVK and keep running into an issue.I have an entity EJB jar and two session EJB jars, each with their own ejb-jar.xml.In the entity jar's ejb-jar.xml I ...

Supporting many languages in a web site

521 byte By JavaBaby@79a at 2007-10-1 21:24:02
hi ... i am developing a web site. which should support many asian languages like chainees, thailand,japan. my problem is like this , i need to allow user to give chainees text or japnees text as input and store them in data base or .... i should store them and retreview them.will it be ...

configuration of applications -- XML or Properties files?

2033 byte By vaibhavkba at 2007-10-1 23:00:30
Hi allI am building a customer website on Jakarta tomcat 5.5.9 and struts. This is going to be a customer login site where the customers will be able to login in, see their bills online (run reports and pdf) and do some other functionalities like user management etc.I am trying to make the ...

Java servers?

264 byte By Glammya at 2007-10-1 23:41:20
Hello.This might sound very n00bish, but.. today I read that J2EE applications can be run on any server, after some settings.So, can J2EE application be run on the Apache http server. (not Tomcat)I'm afraid not, but I'm to ask. Thanks

Deployment of enterprise app with external resources (binary file)

651 byte By fee_fie_fo_fuma at 2007-10-1 23:42:14
Hi. Where do I configure/add external resources (such as a text or binary file) in an enterprise app so that they will also be deployed to a WebSphere Express server? Should they be added to the enterprise app at all, or should they simply be moved up to a server directory? (I am trying to ...

Extending CMP

250 byte By SONTNa at 2007-10-2 0:31:11
I want to build a project without too many types of bean. How can I put my own business methods into CMP, I have tried but when i used client to test it return a error ( it recommend that i have to create that method after one home interface )

Good tools for J2EE functional testing

256 byte By akoni1a at 2007-10-2 1:00:28
What are some good tools for functional testing of a web application? I know of JUNIT, Cactus, and HTTPUnit which are great for unit testing your application, but what about tools for functional testing.Any help or suggestions is appreciated.

CSV error reading

891 byte By thisisJyotia at 2007-10-2 1:48:42
hi,I am trying to read a CSV file but am getting this error. I dont want to use a DSN.String dbUrl = "C:\\pl\\New Folder\\data.CSV";Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");//use this without setting an ODBC Data SourceString lConnectStr = "jdbc:odbc:Driver={Microsoft Excel Driver ...

IDL Compiler for JBoss

450 byte By problem_solutiona at 2007-10-2 1:55:15
Hi ,I am using JBoss App Server and i want to use IDL Compiler which converts idl file to Java file. With J2SE idlj tool, i am able to generate java file but the Helper class that it produced does not contain "bind" method hence my compilation is failing as i need to use bind method.Can anyone ...

can not find Resource?

1612 byte By dinghaijianga at 2007-10-2 2:37:20
package testejb.session.stateless;import javax.ejb.*;import javax.sql.*;import java.sql.*;@Statelesspublic class TestBean implements TestInterface {@Resource(jndiName="java:/MYSQLDS",resourceType="javax.sql.DataSource")public DataSource ds;public String helloworld(){try{Connection ...

external jars with xml parsers break AVK

472 byte By ryanfernandesa at 2007-10-2 2:40:04
Running avk with an ear that references external 3rd party jars would involve placing the said jars in the lib/ext folders and updating the jar's manifest.mf files with the references.This works fine with libraries that dont have xml parsers within them.For example, try putting Oracle's XML ...

Packaging of EAR / WAR / EJB-JAR

843 byte By bgOnlinea at 2007-10-2 2:53:48
Hello,I have a big application to do.So, one solution should be to use an EAR for one module, containing the WAR for the web-tier and the EJB-JAR for the business-tier.It would be better doing like this than creating a big WAR, in order to avoid to deploy a big WAR when a modification is done ...

J2EE - database connection failed...:(:(:(

5351 byte By patrick270881a at 2007-10-2 4:05:07
Hello,I have built a little web application and it works without any problems. In the next step I tried to add a database connection but I have already worked on it for at least one day and I could not fix the problem with the database connection.I downloaded the MySQL Server 5.0 and installed ...

The input line is too long. The syntax of the command is incorrect.

1780 byte By sundewrainbowa at 2007-10-2 5:37:53
I am a prentice on J2EE by using the Tutorial 1.4. I keep getting this error message: "The input line is too long. The syntax of the command is incorrect." from the windows's terminal no matter what arguments I issued for the command asant right after I successfully executed command "asant ...

Reading database connection info from property file

573 byte By ibmnewa at 2007-10-2 5:43:24
Hii All,I'm involved in developping j2ee application using MySQL database. I have hardcoded the database connection settings such as jdbc driver, url, etc during the development time. Now I need to seperate databse settings from the source code. I haven't done this before. So what I did was ...

<html:errors/>

242 byte By DHANYAa at 2007-10-2 6:06:31
Hi,Where to add relevant error code for <html:errors/> tag. I have added in application.properties but the error msg is not getting displayed.Pls also specify a good site to learn struts.Regards,Dhanya

jdbc and struts

133 byte By DHANYAa at 2007-10-2 6:20:00
Hi,pls tell me where i can find simple examples for connecting oracle database using strutsregards,dhanya

Migrating j2ee Application from JBoss to SAP

715 byte By sudheesh_javaa at 2007-10-2 6:39:45
Dear sirs,I am new to SAP WAS. I am working in struts, J2ee technology. We have a project which is deployed in JBoss4.0.2 with MySQL as the back end. The project uses CMP and Normal JDBC for database access. 1. Will SAP WAS support Migration from JBoss?2. We are using MySQL as back end and we ...

Getting java.io.IOException: Too many open files+ClassNotFoundException

560 byte By Manish_Srivastavaa at 2007-10-2 6:52:11
Dear All We have a web application deployed on Rational Application Developer 6.0 (Operating System is Windows 2000 professional) our users are randomly getting java.io.IOException: Too many open files+ClassNotFoundException when they click on some servlet or jsp link, but they are getting this ...

How to access a jar file in EAR file?

649 byte By okinseattlea at 2007-10-2 6:56:03
I have a EAR file which contains EJB.jar file and util.jar file. Outside of EAR, I mean in client side, I need to reference util.jar file. How can I access it?EAR structure is|--+META-INF/|--|application.xml|--|manifest.mf|--EJB.jar|--|+MEAT-INF/|--|| deployment descriptors...|--|| ...

xml file path

1092 byte By naduparambila at 2007-10-2 6:58:05
Hi,I have a portlet which will read an xml file using 'DocumentBuilderFactoryI am placing the xml file in a specific folder in the portlet say xmlreader/book.xml.Now i want to read this xml fileIf i give the file asDocument doc = docBuilder.parse(new File("/book.xml")); Parser will look in ...

Deploying different versions of .EAR file in the JBoss Server

391 byte By jagjeevana at 2007-10-2 7:12:45
Hi All,I have a doubt that ,whether it is possible to place two diffent versions of the .EAR in the JBOSS server,So that i can access any one ,depending on my requirement.i.e while testing i want to use the 1.0 version and when i am developing i want to use 1.1 version of the .EAR file.This is ...

hibernate problem

8266 byte By haroon123456a at 2007-10-2 7:31:45
i have a hibernate problem , i am using hibernate to connect to the mysql database and i am using tomcat , when i restart my tomcat cat it works fine and database is connected , but after a while the connection is lost with the database and the following error is shown in the log file .please ...

FreeHosting, help meeee!!!!

422 byte By Kripnya at 2007-10-2 7:38:22
Hi all you there! I vant to use java servlets and JSP, but any free czech servrs can't working with that, so do you know some free web hosting, where can I use J2EE? It is very importent for me, so I will be thhenks for alll answers.Luk?#353; KripnerPS: PLS use only easy english, thenks!PPS: ...

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

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

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

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?

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

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

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

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

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

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

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

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

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

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

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)?

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

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

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

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

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

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

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