C++ LIBRARY FUCTIONS

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

JNDIConnector datasource name=>null,Problem in connection of Mysql and bean

46886 byte By Mahi_Rathorea at 2007-11-27 4:14:05
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 ...

calling an EJB from a app-client

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

EJB Deployment

810 byte By pkamdar2000a at 2007-11-27 4:14:58
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 ...

vcard parser

364 byte By sangee_73a at 2007-11-27 4:15:08
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 ...

How to start learning Web Services?

225 byte By monoranjanga at 2007-11-27 4:15:33
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

File upload control flow reality check

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

I need to send an automated birthday greetings mail notification

215 byte By maxspeeda at 2007-11-27 4:15:42
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

The server encountered an internal error ()

592 byte By Lovley23a at 2007-11-27 4:16:06
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: ...

Global Variable with tomcat doesn't work, why?

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

Require help in JMS

888 byte By chintan_34a at 2007-11-27 4:16:56
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 ...

Mail not sending properly

5196 byte By Manojmaruthoora at 2007-11-27 4:17:25
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 * * ...

about javax.mail.provider

351 byte By Ashish.Mishra16a at 2007-11-27 4:17:34
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 ...

From XHTML to XML

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

Some of the mails are skiped while sending aprox. 20 mails

750 byte By GYANENDRAa at 2007-11-27 4:17:51
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 ...

Create administered object

2137 byte By babarTheElephanta at 2007-11-27 4:18:33
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 ...

Can u Help me, how to solved this message bean, Error?

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

WS-* support

828 byte By corstijanka at 2007-11-27 4:18:54
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 ...

how to run the Program given in JavaMail 1.4 Demos (folderlist.java)

695 byte By Ashish.Mishra16a at 2007-11-27 4:19:01
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 ...

Apply Data from a database value to a servlet value

1287 byte By evepokuaa at 2007-11-27 4:19:16
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' ...

Converting XML to Spreadsheet - Problem with Accented Characters

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

Where I can find JPA ORM documentation?

159 byte By vwuvancouvera at 2007-11-27 4:20:11
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.

Attach mail

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

Java Persistence API and TableGenerator

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

Asynchronous send to MDB

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

I need to access all the folders of My Mail server?

227 byte By Ashish.Mishra16a at 2007-11-27 4:22:39
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

javax.rmi.portableRemoteObject.narrow

199 byte By Sandipgmaila at 2007-11-27 4:23:21
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)

why the subclass overrided method throwing exception should be subclass exc

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

Error getting application exception message from client EJB 3

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

Can't access asadmin from client

377 byte By BomberMana at 2007-11-27 4:23:53
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 ...

MDB behaviour in Clustered environment

708 byte By AUTOMATONa at 2007-11-27 4:24:14
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 ...

Copying a file physically in java

721 byte By RDevelopera at 2007-11-27 4:24:25
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 ...

Problems in Deploying Ejb in Sun One server

1735 byte By riteshkumara at 2007-11-27 4:24:53
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 ...

Ejb Problem in Sun one server

1908 byte By riteshkumara at 2007-11-27 4:24:54
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 ...

Mail Not send Properly

5420 byte By muthu2007a at 2007-11-27 4:24:55
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 ...

get elements and attributes

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

Stateful session bean that retains transaction context across client calls

492 byte By Vitaliy_Kotova at 2007-11-27 4:26:10
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 ...

WS deployment

249 byte By da_wannabesa at 2007-11-27 4:26:17
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....

Auto start EJB when Sun Application Server start

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

Persistence with Oracle

5389 byte By Cortelosa at 2007-11-27 4:29:33
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 ...

Implementing Singleton design pattern with Stateless session bean

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

!!! Connection refused !!!

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

xpath to select text nodes

501 byte By steff517a at 2007-11-27 4:30:33
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 ...

about java mail

136 byte By nareshkumar@brsystemsa at 2007-11-27 4:30:37
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.

How to Intercept Http requests by Application Server plugin ?

1889 byte By ballarajesha at 2007-11-27 4:30:54
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 ...

XML parsers.

2696 byte By Harmindera at 2007-11-27 4:30:57
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 ...

Unexpected Broker Internal Error - Unknown transaction

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

how to : mail attached file store in binary format in database

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

Petstore deployment error

245 byte By Indi1976a at 2007-11-27 4:31:40
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

Not understend Xalan anyone help me?

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