I want store JMS queue in oracle database..

133 byte By Thilsena at 2007-11-27 10:14:12
<p>Hi all,</p><p>I want store JMS queue in oracle database..</p><p>How can i configure my jboss 3.0.1</p><p>Thanks,</p><p>Thilsen</p>

How to send existing email html including images

503 byte By Nanakoa at 2007-11-27 10:14:19
I used the JasperReport to generate a report in html formats.The html page(containg the data) has a lot of images.I need to send the html report by emails with the images saved in local drive. So I used MineMulitipart way, but in existing ways the html part is just a few lines, you can define ...

java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester

2585 byte By enbya at 2007-11-27 10:16:44
Hi Everyone, I'm new using JasperReports, and I'm trying to generate a simple pdf report with the following Java code:JasperReportsIntro.java// JasperReports *********************import net.sf.jasperreports.engine.JREmptyDataSource;import net.sf.jasperreports.engine.JasperCompileManager;import ...

Subtracting time values within a string in xsl

776 byte By paulnc8a at 2007-11-27 10:16:59
Hey, I am trying to subtract an initial time value from consecutive time values using xsl in order to produce a delta value. The problem is that the way the program creating the files stores the data, it also has the date, etc. as a string. Any ideas on how I can accomplish this? An example of the ...

PersistentObjectException: detached entity passed to persist

2671 byte By jmutonhoa at 2007-11-27 10:17:23
I'm trying to do a simple persisting of an object into a MySQL database , with the following code:public static void main(String[] args){ EntityManager em=JPAUtility.getEntityManager(); List existing = JPAUtility.getEntityManager().createQuery("select u from UserBean u where u.userName='foo' and ...

WS-Trust and WS-secure conversation auto-combined when both are enabled?

451 byte By caesara at 2007-11-27 10:21:11
In my app, client will have to obtain some authorization from a third party before it can consume the service provided by the server. Client - server interaction may span over several messages.As in WSIT, how is that implemented? with WS-Trust and WS-secure conversation, can I say that: client only ...

JMS over a INternet,ISDN and VPN

582 byte By Viresha at 2007-11-27 10:21:26
HiI have enterprise Jave Application which i am researching on. This Java based application communicates with the Java Client with JMS. At present it is used by the company to run on a LAN. I am looking at possibilites of Connecting the servers to client via Internet connection.i.e which allows ...

JNDI Look for JMS running on Sun Java Application Server v9 not working

1808 byte By deepakbgaikwada at 2007-11-27 10:21:32
Hi,I am trying to connect to JMS running on local Sun App server through java client programI am using following code - Properties prop = new Properties();prop.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory") ...

MessagingException: 450 Unable to complete command, no storage available

479 byte By YukinoGa at 2007-11-27 10:21:41
Hi,Would like to seek advice on what could be the cause of the following error message:javax.mail.MessagingException: 450 Unable to complete command, no storage availableThe above error was encountered while sending the emails regardless of whether the mail has attachment or not. It happens ...

Disabling Multiple login of a user

1228 byte By saurabh.mathura at 2007-11-27 10:22:25
I have an application where in a user Id should not be used by more than one person to log in at the same time.What I mean is that at any given point of time, if a person is logged in to the application, with say user id "myself002", then another person should not be able to log in using the same ...

regarding javamail configaration in our system

142 byte By gopalreddymarellaa at 2007-11-27 10:23:01
<p>i wrote small javamail program it wa compiled but it didnt run.</p><p>i want to know what is the configaration to run javamial programs</p>

JSR-181 question

979 byte By vcarvalhoa at 2007-11-27 10:23:51
Hello there! I'm creating some webservices that will be called on a BPEL process. All webservices have the same method signature, only differ in their implementation (ok, I'm creating a loan broker app, and the webservices are the banks endpoints ;) ).Ok, so far so good. Since all webservices ...

Reg: Application Server startup objects

276 byte By SirGenerala at 2007-11-27 10:24:35
<p>Hello...</p><p>I am using weblogic server v9. I want to hit the database and populate a couple of objects during startup of my app server and store them in application scope.</p><p>I have no idea on how to proceed. Any hints on the same will be appreciated.</p><p>~SirG</p>

Persistence in EJB3 with Netbeans

100 byte By mattias_westerberga at 2007-11-27 10:24:49
<p>Hello!</p><p>Anybody who have a small example project made in Netbeans that uses persistence?</p>

How do I make an XLink active when displayed with stylesheet

1771 byte By paulnc8a at 2007-11-27 10:25:35
Ok, so I have an xml file holding all my data and am trying to make it so that different elements/attributes within the structure are links, but XLink does not seem to be working for me. I have an xls stylesheet which displays the xml data, and I would like to be able to click on the elements that ...

jax-rpc 1.6 deserialization error

1377 byte By dimka71a at 2007-11-27 10:29:02
Hi,I try to create a web client for remote web service. I got wsdl file and IDE (Sun Java Studio Enterprise 8.1) successfully build java files out of wsdl. Everything looks simple and good except 1 little thing. When I run the client it throws an exception below.--java.rmi.RemoteException: Runtime ...

i need the help.friends

352 byte By somu_ecea at 2007-11-27 10:30:37
i am uploading multiple file without FormFile.through java scripting i wrote coding..i wrote the coding correctly but when some one accessing my server to upload file means it take 0 bytes file nothing in the attachment .but its working correctly in my system.if some one accessing my system its ...

how can send mail without authentication

230 byte By amitpanwara at 2007-11-27 10:30:42
<p>Hi all,</p><p> I am trying to send mail on gmail using java mail API.</p><p> It need to authenticate first, can anybody explain why it need to </p><p> authenticate .</p><p> Please Reply</p><p> Thanks in advance.</p><p> Amit</p>

Mail delivery failure

186 byte By Godspeed08a at 2007-11-27 10:31:33
<p>Hi All,</p><p>Could any one suggest me how implement mail delivery failure using java mail API.I have used TransportListener but its giving the successful delivery always.</p><p>A</p>

Retrieve from POP3 and send via SMTP

695 byte By LuCa@iTaLya at 2007-11-27 10:31:43
Hello!I'm working on a POP3 mail fetcher: a program which downloads messages from a POP3 server and delivers them to an SMTP one.I found a problem trying to send the message I get from a POP3 folder, like:Message[] messages = folder.getMessages();for(Message message : ...

AMPQ & JBI

279 byte By michele81a at 2007-11-27 10:31:51
<p>Hi all,</p><p>has anybody any experience on using the Advanced Message Queue Protocol (AMQP) [1] with JBI/ESB technology (i.e. Mule)?</p><p>I haven't seen any AMQP connector available: is there any plan for that?</p><p>Thanks,</p><p>Michele</p><p>[1] http://www.amqp.org/</p>

Need help for complex type - JAX-WS

386 byte By reichana at 2007-11-27 10:32:23
Hi all,i am trying to realize a web services with Jax-ws technology that returns a created complex Object from me and that the client can interpret through the wsdl. How I must set up annotations of Jax-ws? you have of the examples from being able to me to show or of the link that they can help me ...

Jax-ws 2.1 - problems returning hashtable and hashmap

1756 byte By restevesa at 2007-11-27 10:32:41
Hi,We're developing a set of applications that communicate via web services.The company decided that to do this we should use jax-ws 2.1.Everything is going ok, its really easy to use, except for a web method that returns a java.util.Hashtable. In the endpoint there's no problem, it compiles and ...

Difference between Application Client and Java Client

562 byte By mohitanchliaa at 2007-11-27 10:33:30
Hi,I went through https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html page to understand the difference between application client and java client. Still I don't seem to understand how is it different. It's not being deployed in Application server then it means we run this as stand alone ...

JPA: compound primary key with @ManyToOne

2538 byte By michaelhhha at 2007-11-27 10:37:10
I have to map a legacy database to JPA enity beans.The legacy database has to following tables:BaseComponent:integer basecomp_id (PK)... more fieldsBasePac:integer basepac_id (PK)... more fieldsComponent:integer basecomp_id (FK and 1. part of PK)integer basepac_id (FK and 2. part of PK... more ...

HttpServletResponse Writer error in LinkedBlockingQueue in separate Thread

4705 byte By timmeeeeea at 2007-11-27 10:38:05
I have a servlet that can process a request and send a response. Needing to process many simultaneous requests, I started using a LinkedBlockingQueue in a separate thread to take requests and process them. The problem comes when I have finished processing and want to send a response to the client. ...

Reg: JMS Exception sending to queue null

275 byte By p-_pa at 2007-11-27 10:38:49
<p>Hi,</p><p>When i try to receive the data from the external system in the form of xml through JMS i am getting an exception like "JMS Exception Sending to queue null". Can somebody help me with this in resolving the issue. </p><p>Thanks & Regards,</p><p>P.Prasanna.</p>

Can't send to a gmail account

8717 byte By Rob_Ha at 2007-11-27 10:39:09
So I started looking at JavaMail today and came up with this.import java.util.Properties;import java.security.Security;import javax.mail.Message;import javax.mail.MessagingException;import javax.mail.PasswordAuthentication;import javax.mail.Session;import javax.mail.Transport;import ...

"Could not resolve a persistence unit" error...

976 byte By xyzta at 2007-11-27 10:40:38
Hello,I created a Netbeans Visual Web application. I added an Entity Class from a database table. A resource is added into Server Resources part. when I look at its properties, I see that it's JNDI name is set to "bitkiwiki" and I check the Sun Application Server's JDBC Resources and I see ...

multiple queue vs single queue - peformance

749 byte By SrinathDeva at 2007-11-27 10:40:40
Hi All,Could pls throw some light on the following design.Currenty, We have more than 100 queues and for each there is a different MDB to receive the message.Now, somehow we made a single instance of same MDB listen to all these queues by looking at the input message. The requiement now is, is it ...

EJB Facade basic question

654 byte By rkrgarlapatia at 2007-11-27 10:41:52
Hi All,I have a basic question on EJB Session Facade design pattern.What is the extra code we write in normal Session Bean, to make it as Session Facade.I never involve in EJB coding, but i know the coding and bit curious to know about it. I see Normal Session Bean coding and also seen Session ...

multithreading

363 byte By abhinay_31a at 2007-11-27 10:41:58
I have a file of very very maximum no of mail so i am sending I have a servlet page. Using this servlete page, if I want to send the file to a jsp then between these time taking process i want to show something progress is going on but i dont like to use progressbar just i want to create threading ...

Creating new Topics from a client?

532 byte By christoph.schnaedtera at 2007-11-27 10:41:59
Hello everyone, I have already read the documentation but there is one point still unclear to me.I want to write a messenger on jms basis so that people using clients can chat with each other. There will be topics that single users can subscribe to and direct chat sessions between two users.So my ...

adding external jar into application client

907 byte By vAaka at 2007-11-27 10:43:03
Hi,I'm developing an application in which both my EJB's and my application client make use of some general classes. To avoid duplication, I thought it was a good idea to create a Java Class Library project (myLibrary) in NetBeans and let the two other projects (ejb and app-client) access them by ...

Parsing error

240 byte By nick211001a at 2007-11-27 10:45:20
<p>I'm new to parsing. I have separate XML and DTD txt files and I'm using SAX. Can anyone indicate why I get this error?</p><p>"Problem starting XML processor com.ibm.xml.parser.XMLReader#read: Invalid UTF-8 code. (bytes: 0x93 0x57)"</p>

Java 6 web services and Tomcat?

647 byte By innanilla at 2007-11-27 10:45:43
I recently installed Java SE 6 and want to know how to use the web services that come with it with Tomcat 5.5.Searching the internet yields no answers.Specifically, I need to know what needs to go into the web.xml file to publish the web service, whether another xml file is needed, whether Tomcat ...

Problem using, deploying an EJB

3316 byte By Sapana at 2007-11-27 10:46:13
Hi All,I have been trying to compile and run my first EJB in NetBeans. It is a very simple EJB which goes like this.package test;import javax.ejb.Stateless;-/** * * @author Vibhushan */@Statelesspublic class NewSessionBean implements NewSessionRemote, NewSessionLocal {/** Creates a new instance of ...

How to use ArrayList in Java Web Service

6899 byte By Subbu_javaa at 2007-11-27 10:47:01
Hi frenz,i am having a web service that is having 3 operations. They are all working fine.now i want to add the forth operation with a return type of "ArrayList".i tried, but it thrown an error:error: Collection types are not supported in literal mode - Type: "java.util.ArrayList"This is my wsdl ...

Entity bean questions

237 byte By ppatidar2001a at 2007-11-27 10:47:29
<p>what is the sequence of events that takes place after, findAll method on EJB Home of an entity bean is called. In particular I want to know when EJB Objects are created? I am not able to understand this from Entity Bean lifecycle.</p>

Serializing MimeMessage

800 byte By prabhu.ramadasa at 2007-11-27 10:49:30
Hi all,I have a requirement wherein I need to enqueue a MimeMessage into a JMS queue. Now MimeMessage is not serializable! And I wonder why!Now here is the problem. I want to invoke the message.getContent() method only after I dequeue from the queue. Which means I will need the entire MimeMessage ...

Scheduling Email Notifications

421 byte By codebooka at 2007-11-27 10:49:48
I'm fairly new to EE development, so forgive me if the answer to this question should be obvious to me.I want to be able to schedule a task to start at a predetermined time. Basically, I need the Java EE equivalent of the cron service on Unix systems. One example: I need to run a few DB queries ...

MDB and Session bean with DB

404 byte By kstanirajia at 2007-11-27 10:49:54
Hi...I have a different problem.. that isI have a MDB that is interacting with the DB through the result set and statementAnd I have Session bean interacting with the DB through the result set and statement. When both (sometimes) interact with DB . I have a problem.. ( Object closed )i would be ...

A beginner:Need your help experts

324 byte By Adi1000a at 2007-11-27 10:51:02
Dear experts,I had been using J2EE 1.3 quite long ago.Recently i shifted to latest version of J2EE and despite a Quick start guide,i am unable tofollow how to deploy a simple entity bean.I have coding for home interface,remote interface and the beanclass itself.Plz ...

Container-Managed Transaction Type Attributes not working as expected

973 byte By aacaina at 2007-11-27 10:51:19
I am having a problem with the container-managed transactions not working as expected. I have 2 methods that work as follows:MethodA{for(a lot)call MethodB;}@Transaction Type = RequiresNewMethodB{ EntityManager Persist to database}I want the code in MethodB to be committed to the database when ...

MessageRemovedIOException?

1290 byte By dnwiebea at 2007-11-27 10:51:32
I'm writing a website that occasionally sends emails--in this case, as part of a new-user registration process. The relevant code looks like this:Message msg = new MimeMessage (session);When I deploy my application in Glassfish, this works wonderfully.But when I run this code in an automated unit ...

Program to read Mx records

134 byte By Godspeed08a at 2007-11-27 10:52:25
<p>Hi</p><p>Can anybody post the sample code or provide a URL for how to read MX records using java.</p><p>Regards,</p><p>Godspeed</p>

sending java mail error+smtp.gmail.com

2084 byte By jimmy@banga at 2007-11-27 10:54:02
hii m facing an issue while sending mail.the mail is actually sending(received in the To email) but an error is thrown javax.mail.MessagingException: Exception reading response; nested exception is:javax.net.ssl.SSLException: Unsupported record version Unknown-50.49at ...

deserialization error: XML reader error: unexpected character content:

2575 byte By Tindora at 2007-11-27 10:54:16
Hi,I'm just learning to write web services. I pasted the service and it seems to work.It's code is :package server;import javax.jws.WebService;public class HelloImpl { /*** @param name* @return Say hello to the person.*/public String sayHello(String name) {return "Hello, " + name + "!";}}I wired ...

A question about entity manager in stateless session bean.

739 byte By ncu_askaa at 2007-11-27 10:54:23
JSR 220 ejbcore, page 47 : stateless session bean: All business object references of the same interface type for the same stateless session bean have the "same object identity", which is assigned by the container.So, if we have two session beans in client code...@EJB Cart cart1;@EJB Cart cart2;then ...

Using metrics with a cluster of brokers.

862 byte By cferris84a at 2007-11-27 10:58:02
Hello, Here is my situation -I'm using the metric topic "mq.metrics.destination_list" to receive the mapped message of metric data. I'm doing this to get the queue depth, number of consumers and number of messages acknowledge. My JMS provider is Sun JMS. I have a cluster of two brokers on Window ...