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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 )
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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
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 ...
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 ...
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...|--|| ...
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 ...
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 ...
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 ...
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: ...
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) ...
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
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 ...
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?
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
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 communication between two existing systems or internal systems, DATABASE(FILE) or MESSAGES(JMS)?
Dear friends,where can I find information about how to configure the hotdeploy on Tomcat - preferably using an Ant task...
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 ...
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 ...
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: ...
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
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 ...
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 ...