Hi,this is the 15th question I have asked a question on this forum and never had an answer, perhaps my luck will change with "Duke Dolllars".My problem is the continual recurrance of the error Exception in thread "main" java.lang.NoClassDefFoundError: SimpleTramsform$ java ...
432 byte By
sam021a at 2007-9-26 5:44:12
i have a client(applet) and server application that are designed to communicate via sockets. the applet will run from a webpage and i know how to publish that. but the problem is the server application. i have been told that it too should run on my host, but how can i specify that and how to ...
hi,does anyone know how to use the deploytool come with the j2ee sdk to add a ConnectionPooledDataSource(eg. OracleConnectionPooledDataSource), which later on i can using JNDI lookup the ConnectionPooledDataSource from my program(code). This is very urgent to me and i had been searching and ...
575 byte By
Omnigunk at 2007-9-26 5:46:04
http://coldjava.hypermart.net/servlets/webmail.htmHow do I run the WebMail? I have IIS and tomcat installed. I have jdk, javamail and jaf also installed. Thus I have everything I need to run the WebMail but how do I run the WebMail? I'm new to Java but my lecturer makes us students run a ...
4573 byte By
peterlok at 2007-9-26 5:46:26
I just successfully installed and started up the Sun J2EE1.3 beta 2 on Windows 98 SE and successfully deployed the Java Pet Store 1.1.2 to it. It is running and it is definitely possible to deploy. There have been too many questions in this forum and it took a few hours to get it going as the ...
140 byte By
xsbry at 2007-9-26 5:47:00
When I read my folder by java mail api,I encoutered the following message:MessagingException:Missing local name.
823 byte By
sumeet_k at 2007-9-26 5:47:26
Hi all,We are using MQSeries Ver 5.1 on HP-UX on weblogic server 6.0sp2 on HP-UX. We are using JMS APIs only for the same. We are planning to have multiple message listeners on the same queue so that while one listener is processing a particular message the other message listener can take over ...
880 byte By
rpking at 2007-9-26 5:47:55
I am attempting to implement two EntityBeans in an application using J2EE RI. One entity, we'll call it AddressEJB, defines a local interface. The other entity, we'll call it OrderEJB, defines a remote interface, and references the AddressEJB entity. I have also defined a one-to-one ...
1890 byte By
njing78 at 2007-9-26 5:48:41
Hi, AllFirst thanks a lot to former help. I face a problem when I want to create user in my application, the new user should get the maximum id in the system, while I use entity bean including " UserBean, UserHome and User" for User , with CMP. But I don't know is there any efficient way to ...
509 byte By
cdml at 2007-9-26 5:48:47
Easy question...I want to access text file on my server with my servlet on that same server. In my servlet I have used a ResourceBundle and it works when I test it on my computer using the JSDKEE server. When I upload it to my real server and try to run it, it only runs up until I call any ...
574 byte By
Gprabhu at 2007-9-26 5:49:16
I need to update multiple tables at the same time. If the transaction fails, rollback otherwise commit. If we use CMP beans, how can we achieve this efficiently? I understand that if I call a method then the container starts a transaction and when it exits the method, it commits. But the ...
466 byte By
shomuni at 2007-9-26 5:49:23
to anybody out there.. i really need ur helpthere was a deployment errorjava.rmi.ServerException.RemoteException occured in server thread;nested exception is:Please refer to<J2EE_HOME>/logs/<machine_name>/j2ee/j2ee/error.log.For more information.Please verify your Application with ...
4998 byte By
shomuni at 2007-9-26 5:49:28
rmic compilation failed.at com.sun.ejb.codegen.GeneratorDriver.compileAndRmic(GeneratorDriver.java:261)at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:872)at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:709)at ...
267 byte By
yu_hung at 2007-9-26 5:49:45
Hi there,My web application needs to send text only email. I just want to know if there is a easy way for sending simple email message? Cos I think the configuration of Java Mail is too much.Thanks for listening!Cheers,Edmund
400 byte By
actlui at 2007-9-26 5:49:46
I was reading SUN's tutorial "Working with XML - PART IV: Using XSLT". Inside this tutorial, in 3, it talks about how to generate XML from an arbitrary data structure making use of a XMLReader and a Transformer. The example only shows adding elements. Is there a way to add DTD information in ...
104 byte By
wilmort at 2007-9-26 5:50:34
Hi, do you know where can I find some sample code for use of JAXP API?thanks
495 byte By
Anjali_c at 2007-9-26 5:51:57
Hi all , I am using MDBs in my application.The problem I am facing is that , I have to ensure that the message whch is received by MDB should be acknowledge only on successfull completion of onMessage(). So how to ensure that the acknowlegement is not send before successfull completion of ...
682 byte By
gulfi at 2007-9-26 5:52:08
Hi,I'm trying to deploy a very simple application (freak.ear) on a J2EE server V1.2.1 running on a remote host. The server seems to be running correctly as I get access to the welcome page. When deploying the app I get the following error message:There was a deployment ...
Can I have an Object type attribute in an Entity Bean that must be mapped to a database. This Object will then only contain text attributes. For example,class UserBean {String name;Address address;}class Address {String street;String streetnumber;}In other words: Can I use EJB's to provide the ...
runing apache and tomacat the tomacat does not recognized the method. someone maybe know why
Would you please elaborate the difference between XML Schema and DTD?Thanks in advance.
I am trying to run simple stateless session bean in weblogic 6.0the client code isimport javax.ejb.*;import javax.naming.*;import java.rmi.*;import java.util.Properties;/** * This class is an example of client code that invokes * methods on a simple stateless session bean.*/public class ...
HelloWe are developing a website using the java technologies.We are not using the connection pooling for connecting to the database. We use a static connection object and calling it in all the pages. Is there any other good method for connecting to a database? ...
228 byte By
kamar1 at 2007-9-26 5:53:20
If we specify ANY content type for an element declaration , does it mean that we can put character and child elements in any order in the element content? A bit confusion about the order. Any one please clarify it.
Hello,Can any one tell me how to use SmtpClient in an Applet to send an email to a particular user? Please give me some source code also. This is what i am doing try{sendmail = new SmtpClient("smtp.mail.yahoo.com");System.out.println("connecting......");System.out.println("SendMail:" ...
440 byte By
wdliu at 2007-9-26 5:56:14
i encounter a very strange problem, in EJBi write two EJB, one Stateless Session called A, and one Entity called B.i want to call B's findByPrimaryKey method in one A's Business, but failed!!! but when i remove the statement that performed the findByPrimaryKey method to A's setSessionContext ...
215 byte By
vividq at 2007-9-26 5:56:22
Take the multipage apps for instance, it is a common idea to return only a subset(No. 10~No. 30) of the full-list especially when there are millions item in the full-list.Please help me:)
8333 byte By
btapas at 2007-9-26 5:56:23
Hi All,Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which ...
Dear Sir,I have created DB Pool as JavaBean for the JSP. but now can I use this JavaBean inside the Servlet?if I can, how can I do it? thank you very much.Rick Wong
1863 byte By
btapas at 2007-9-26 5:56:46
Hi All,I have recently encountered very very unusual problem which am not able to understand. If you could kindly shade some light on that it would be of great help. I have three environment where the application is being deployed. In the first two environment it works fine without any problem. ...
172 byte By
hzirl at 2007-9-26 5:56:50
Hello!Does anyone know a good adress about the RPC? We have to write a study about this topic and it is not easy to find information in the internet...
Hi, I just started playing with XML, and I need to extract data and do some things with it. Ideally, I would like to have my objects map the nodes and do some things with themselves (like writing themselves to a database). The question I have is:Do I have to remap (manually) the information ...
How can i get data from SQL server 2000 to XMLand store XML to SQL server 2000
498 byte By
cesnell at 2007-9-26 5:58:49
I'm having an issue where a thread dies in the middle of a method call and goes back (not sure if it really returns) to the main method. I'm using a SAX Parser for XML (Crimson) and after a minute or so of parsing the xml the parser stops in the middle of the characters()method. No exception ...
2240 byte By
rambass at 2007-9-26 5:59:31
Hi, i'm an Italian developer, would-you excuse my bad english!!! :-))I have tried to use the sun.jdbc.odbc.JdbcOdbcDriver in a simple J2EE (J2ee 1.3b) application...I have performed these steps:1) j2eeadmin -addJdbcDriver sun.jdbc.odbc.JdbcOdbcDriver2)j2eeadmin -addJdbcDatasource ...
429 byte By
xoselois at 2007-9-26 5:59:36
Hi!If anybody worked with J2EE Tutorial and have tried to run Converter example maybe help me with my problem.Server runs right, Deployment tool say me that is all right but, when I try to connect to the example with: http://localhost:8000/convertermy browser say me that not find the server or ...
Hi, I've an important question, I think.I want to make a remove method but I need topass a parameter.. i.eejbRemove(String kind_of_removing).The problem is that the ejb_spec2.0 don't allowto do this.Does anybody how can I solve the problem?
I'm in the process of researching the issues involved in designing/running an EJB application on top of a distributed (asynchronous replication) database.For example, how is transaction integrity maintained when using an asynchronously replicated DB?Consider this example: an EJB transaction ...
33 byte By
me_elf at 2007-9-26 6:01:35
Thanks for response
689 byte By
rpking at 2007-9-26 6:01:43
I am trying to implement a relationship between two entity beans using RI. Entity A defines a remote interface and references Entity B, to which it has a reference, through Entity B's local interface.I cannot get this to work. I get a compile error when trying to deploy the application. When I ...
2358 byte By
arajeev at 2007-9-26 6:02:04
HelloI have installed JMQ and JMS and able to communicate between two different programs shown below, but I want to run them on two different machines and send and receive messages, but I am unable to figure it out that How and where will I specify the IP Addresses of those two different ...
Is there a way to generate UUID codes in pure java?UUID is the omg (I think) standard which is like GUIDs in windows.I have an app where objects are created on the client, and then sent serialized via a web server, I would like to assign a globally unique ID when they are created on the client ...
I'm making a small online bookstore an am using a Stateful Session Bean for the shopping Cart. The problem is that when I add a new item to my cart I lose everything that was in there before since I use home.create(). Is there anyway I can relocate the original bean so that my original items ...
184 byte By
javamad at 2007-9-26 6:04:18
Hi everybody, is it a good idea to use entitybeans if all my sql's are stored procedure? Is it better than using a simple java class ? Thanks.
225 byte By
llihuang at 2007-9-26 6:04:22
There's a Client.jar fater deployed an EJB.I can do it like this:D:\>java -classpath %classpath%;Client.jar MyClientMy question is:How can I run JSP with the EJB?Thank you!
Hello, can any one tell me is Apache James 1.2.1 support the IMAP Server. I can send mail to the Apache James mail server. That's mean my smtp is work properly.When i trying to view the mails by typing the command :-java msgshow -T imap -H 127.0.0.1 -U ryan -P passwd -f INBOX 1Note: ...
Hello all. I'm using j2ee 1.2.1 and I've encountered a problem.The J2EE_HOME and JAVA_HOME directories cannot contain spaces such as in "Program Files".Surrounding them with qutation marks doesn't help.Finally, I moved/renamed the directories to names which do not contain spaces.Is there a ...
I am using following things for devloping ejb's(entity bean)platform:windows 2000server:j2eeDatabase:oracleUsing example Account of j2ee:for devloping entity bean:Jndi references are:refrencedbycompent/refrenced jndinameAccountBeanMyAccountAccountBean jdbc/AccountDbjdbc/OracleAccountWAR ...
210 byte By
ra4a at 2007-9-26 6:05:14
hi, i have to shift my EJBs from weblogic to Oracle 9i. pl refer the sites where i'll find meterial for doing so. i need complete documentation of the Oracle 9iAS. thanx,ra4a
Is there a way to submit XML to a servlet instead of the text fields on an HTML form?