260 byte By
EMEKAa at 2007-11-27 4:13:55
Hi,Please, does any person know where I can download c++ standard library functions for offline use?Please, forgive me for directing c++ question to this forum, but thats because I don't know where to obtain the right answer.Thanks
Hi I am using Sun App Server9.0, Mysql5.0, and Netbeans 5.5. When I am trying to run my facade, it is not detacting datasource. Do I have to set some property in server.I am getting this exception.deployed with moduleid = EnterpriseApplication1-app-client[TopLink Config]: 2007.05.13 ...
363 byte By
kingsoba at 2007-11-27 4:14:29
is there some kind of law that says this has to go in the class with the main method?@EJBprivate static NumberEntityFacadeRemote numberEntityFacade;because when its in the class with the main method, it works fine, but if i move it over to the class where i need to use it, i get a nullpointer ...
Hi guys,i have created one .ear project in WebSphere Studio Application Developer IDE 5.0 and it contains a web module named TestWeb and an EJB module TestEJB after i deploy the .ear project on server i can access servlet in the browser and EJB using Universal Test Client ejb lookup so i don't ...
Hi all...im using vcard parser(vcard4j) to parse the vcard .if the vcard has no N or FN im unable to parse the vcard .can any one help me to solve this problem.for eg:BEGIN:VCARDVERSION:2.1REV:20060119T083132ZTEL;VOICE:1234567END:VCARDfor tis vcard im unable to parse.Thanks ...
Hi, I am new to learn Web Services. Please give me a reference which I can use to learn Web Services by running & exploring a sample example.Please help me.Thanks & RegardsMonoranjan
1084 byte By
Sonica at 2007-11-27 4:15:38
I'm writing a file upload handler in an enterprise application with a Web client. The basic idea is as following:1. User uploads file through an HTML form.2. App processes file.3. File contents are spread around database tables after parsing.4. File is being saved in server disk for future ...
hi all .. I have a requirement like.. I need to send an automated birthday greetings mail notification on every morning.. so I need a general code...for that so pls any one help me thank you in advance
Hello !!!CAN'T FIND A SOLUTION...Does anybody knows?OliaHTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionjavax.servlet.ServletException: java.lang.InstantiationException: ...
1162 byte By
maxpadea at 2007-11-27 4:16:13
hi all,i've following question:i'm calling a Client (in Server A) which calls a Webservice on Server B. Then i'm waiting in the Client for a response which comes from Server B to a Webservice on Server A. The Webservice on Server A should change a global Variable, which it's in the Client ...
Hi,I have requirement in which : User can run search asynchronously from database. e.g. User can select search criteria and run a search. and user will be redirected to next page where it shows search status as 'Running'. Again user can select different criteria and re-run search. So for ...
I have to send a mail from the portal to servers like gmail,yahoo etc and i have written a program like this in servleti have executed this program in Sun one webserver without posting any errors or exceptions.But the mail is not send properlyThis is the program/* * servermailservlet.java * * ...
Hi friends,I m creating project using java mail api 1.4. I found some code for reference, but i found that there is no class like javax.mail.provider in JavaMail 1.4 API. What is the solution for this. Which classes are used instead of Renderable, Attachment classes.What is the replacement for ...
242 byte By
puntinoa at 2007-11-27 4:17:40
Hi Does it exist a program (not API) that create a XML from an XHTML ?E.G. I have a XHTML file and aI want the XML associated to it. I insert the xthml file (input) and output is a relative XML.Thank you in advance
I have a java mails sending program in which I am facing a difficulty. My problem is, if the mail sending program has total 20 mails to send, it sends most of mails out of 20 but skip some of them(For e.g. 2 or 4 mails). While sending all the 20 mails independentally deliver properly on its ...
Hi,I have a stand alone application which connect to an EJB server, so I would like to use the JMS provider in my application but I don't want to use my JMS provider for the creation of TopicFactory and Topic (and then use a lookup).Is there a portable way to do this?The only way I found is ...
1026 byte By
CJ_125a at 2007-11-27 4:18:37
Hi All,I am new bie for this J2EE. How can i solved this.. always javax.naming.NameNot FoundException but i 've already done to put in jndi name in the ejb.xml descriptor .try{connectionfactory = (ConnectionFactory)jndiContext.lookup("jms/SimpleMessageDestinationFactory");destination = ...
I was wondering, what the support is on WS-* standards in the various JBI components? I have tried to use WS-Addressing combined with the XSLT SE and HTTP BC for message transformation, but I can't seem to get WS-Addressing to work good. Using glassfish and open-esb, WS-A kind of works when I ...
Hi All,in the distribution of JavaMail 1.4, some programs are given, i want to run folderlist.java. But i m unable to run it? Can somebody tell me how to run it?i tried like this:java folderlist -T IMAP -H email.abcdef.com -U user -P passwordjava folderlist -T POP -H email.abcdef.com -U user -P ...
Hi,I am displaying data from a DB using EJB3/JEE5 as below:for(Iteamdetailhlp itemlist: iteamdetailhlp){//String s=itemlist.getitmid();out.println("<TR>");out.println("<form method='get' action='AllItemsser'>");out.println("<td>");out.println("<input type='checkbox' ...
1370 byte By
jagoocha at 2007-11-27 4:19:45
I have a program that uses an external program to gathers user account information from Active Directory. The external program is .Net, and I execute it from my Java app, which then collects the XML output and saves it in a String variable. So far so good.Next it parses the XML and retrieves ...
I have worked with Hibernate before. I need to learn the object-relational mapping in JPA. Where I can find such documentation?Thanks in advance.
160 byte By
MVC3000a at 2007-11-27 4:20:54
Hi,I would like to know if there is a method to attach a document to a mail because i need this functionnality on my JEE application.Thanks
409 byte By
nmiga at 2007-11-27 4:20:56
hi everybody....i'm developing a web project with java persistence api.( no EJB's ). my entity classes have primary keys that are generated automatically with @TableGenerator and @generatedValue annotations..there are some situtations, where i want to get manually the next id for the class ...
977 byte By
topreda at 2007-11-27 4:22:13
I'm trying to create a work queue for a long-running operation using JMS, but I must be missing something. I setup a queue to a MDB under JBoss and everything appears to be working correctly. Auto-acknowledge is turned on. However, when the message is sent, it seems to behave synchronously all ...
Hi friends,I need to access all the folders & the messages contained in the folders. Can i access all the folders using POP3 protocol?How can i do so? Please tell me about this. Thanks in advance
Hi Pls tell me why we narrow the instance of the object we looked up, before type casting it to a home referance by using javax.rmi.portableRemoteObject.narrow(Object,Home.class)
353 byte By
m_imayaa at 2007-11-27 4:23:48
why the overrided method in subclass throws exception should be subclass exception type or the same type of superclass method exception.why the following code gives compilation error.class A{ void methos1() throws IOException {}}class B extends A{ void methos1() throws Exception ...
7796 byte By
kerulea at 2007-11-27 4:23:50
Hi, somebody nkow what is the error?I have this simple session bean deploy in a jboss 4.0.5 GA application serverMy interface:package server.ejb.usuarios;import javax.ejb.Remote;@Remotepublic interface Prueba {public void getError() throws Exception;}My Session bean implementation:package ...
Hi, allI have installed Application Server PE9 on CentOS4.4I can access from server by typing http://localhost:4848/asadmin.But when I try to access http://192.168.1.99:4848/asadminfrom client I can not access that pageIt just shown me "Page can not be displayed"How can I access that page from ...
Hi, I am a bit confused with regards to how a message delivery will behave in a clustered environment on a app server. As far as Queue is concerned, I am clear that it will be delevered to one and only one of the MDBs. But for Topic, how can load balancing effect the Topic subscriptions? Does ...
Hi,I want to copy a file from the client to the server machine using java application. I am using JFileChooser .The problem is that by means of this the copy is possible if the files exist on the same machine but not when the file has to be copied from 1 machine to another.Thus physically the ...
java.rmi.RemoteException: CORBA BAD_OPERATION 1398079720 No; nested exception is: org.omg.CORBA.BAD_OPERATION: -BEGIN server-side stack trace-org.omg.CORBA.BAD_OPERATION:vmcid: SUN minor code: 232 completed: Noat ...
hi All, I deployed Ejb in Sunone server .When i am trying to invoke the method in that Ejb i am geting bellow Exception java.rmi.RemoteException: CORBA BAD_OPERATION 1398079720 No; nested exception is: org.omg.CORBA.BAD_OPERATION: -BEGIN server-side stack ...
Hi i had prepared a java program to send an attachment file it was compiled but when i interpret then it would show the error message as follows PLEASE HELP MEjavax.mail.MessagingException: Unknown SMTP host: true; nested exception is:java.net.UnknownHostException: trueat ...
13524 byte By
didia at 2007-11-27 4:25:18
Hello everyone,i have this xml file:<?xml version="1.0" encoding="iso-8859-1"?><items><item name="New" id="1"><tab name="Main" id="1"><input type="text" name="textfield" value="" size="10" maxlength="20" description="" /><input type="hidden" name="hiddenfield" ...
http://www.onjava.com/pub/a/onjava/2001/05/23/j2ee.html?page=4Is this good example?Does it worth implimentation?In fact I want 3 methods:1. To open entity for edit - transaction begins.2. Save changes (Client Save button action) - transaction commit.3. Cancel changes (Client Cancel button ...
I have the WS WAR file, but I need to know what I ought to do get it deployed on another server. I have not registered it with the UDDI or ebXML regiatries. How would I be able to locate it when deployed?Kind regards,Refrmer....
129 byte By
janir4a at 2007-11-27 4:28:22
Is there a way to make an Enterprise JavaBean auto start when the Sun Application Server starts?Thanks,janir
Hello,I'm using Sun Java System Application Server 9.0 with Oracle to do the server persistence. I have already enable de server persistence and create the schema.I start up the server, and I don't have problems, but when I deploy a simple BPEL process same erros ...
642 byte By
mynaa at 2007-11-27 4:30:03
HI All,I have a question:Can we implement singleton design pattern with stateless session bean inorder to store the previous values ( as the singleton class creates only instance of the class for the entire application and can store the conversational state for a single or multiple HTML pages ) ...
762 byte By
RS_Deva at 2007-11-27 4:30:14
Hi Friends !I 've written code for a simple stateless session bean . And trying to access the bean in the Servlet Client....asObject ...
Hello,I have an issue with xpath. My xml document looks like this<root> <something>key1<somethingelse/>value1<somethingelse/>key2<somethingelse/>value2 </something></root>Now I'm looking for a xpath expression to select the value of key1,key2,... This ...
i write a java mail program,but i don't know how to run a java mail program.any body know pls give me reply to me .it is urgent.
Hi all,My requirement of "Application Server plugin/filter" is to intercept all Httprequests coming to an Application Server instance (and not webserver), get the related information from the request, do whateveri want to do and then forward the request based on the info available in the ...
import javax.xml.parsers.DocumentBuilder;import javax.xml.parsers.DocumentBuilderFactory;import javax.xml.parsers.ParserConfigurationException;//import org.apache.crimson.jaxp.DocumentBuilderFactoryImpl; import org.w3c.dom.Document;import org.w3c.dom.Node;import ...
2426 byte By
Ivosha at 2007-11-27 4:31:02
Hi,we are getting the following kind of errors in the Sun JES Message Queue:[19/Apr/2007:09:29:02 CEST] ERROR [B3100]: Unexpected Broker Internal Error : [Unknown transaction: 4496019631547352064(4496019631547352064) broker will not notify the client Ignoring ROLLBACK_TRANSACTION(48) Packet: ...
1261 byte By
yzmewona at 2007-11-27 4:31:12
how to attached mail with file that store in binary format in database ?the code below is attached thru the browse button with the file pathbecause the attachment is store in binary format, how do i modify my code to get the mail attached with the attachementFile Name : [ C:\README.txt ] ...
Duplicated project name in import. Project petstore-impl defined first in E:\Downloads\java pet store\javapetstore-2.0-ea4.6\nbproject\ant-deploy.xml and again in E:\Downloads\java pet store\javapetstore-2.0-ea4.6\nbproject\build-impl.xml
4423 byte By
mirko81a at 2007-11-27 4:31:50
Good morningi have 1 great problem whit stykesheet.I trasmormed 1 xsl in 1 class java whit xalanand now i need use this class in other my class for create 1 fop Document.Not found what class i need and what source i need use for this implementation.Any one write in this post a little code to ...