6927 byte By
rameshra at 2007-11-26 22:40:59
[nobr]Hi All,I have a problem in sending HTML mail with images.I am able to get the image in my mail if i place the image part and the html part in two different tables I am able to get the image along with the html message but if i use the following code i.e using single table i am not able to ...
3285 byte By
dan-ba at 2007-11-26 22:43:31
Hi,from inside the EJB container, I call a static method on a POJO, thattries to connect to a remote port. Here's the code for the socket connection:public static boolean isPortConnectable(String hostname, int port) {SocketAddress addr = new InetSocketAddress(hostname, port); Socket socket = ...
525 byte By
sooty70a at 2007-11-26 22:43:37
Hi, Folks.I've just inherited a test application that was written using JAXB 1.0. The application it tested has since moved onto JAXB 2.0 but the test application has lain dormant for the last 12 months. I now have the task of bringing the test application up to date and as you might expect, I ...
224 byte By
ahujava at 2007-11-26 22:44:12
Hi,I posted this in the Java Programming section and was redirected here for this question:Is it possible (or is there a method) to find out all the active JMS topics? I am using activemq. Thanks!
I have been having a great deal of difficulty installing theJava EE SDK application from this downloaded filejava_ee_sdk-5_02-windows.exeThe installation appears to proceed normally for a while then aborts with a dialog that references the installation log. I have tried installing this a couple ...
Hi,I am using outlook client and pop3 server.I am retriving UID for all messages from my outlook inbox as i need to save them to database into table which has UID as PK.when i do this, i get exception as duplicate PK for some of the msgs.if UID is unique for each message why am i getting ...
I'm creating xhtml pages from xml using xslt. The problem is that the Transformer is producing a DOCTYPE that is missing the required spaces between the publicID and systemID, so SAXParser operations I'm doing on the output fail.xsl:output method="html" version="4.01" ...
236 byte By
ahujava at 2007-11-26 22:44:53
Hi,I posted this in the Java Programming and the JBI section and was redirected here for this question:Is it possible (or is there a method) to find out all the active JMS topics? I am using activemq. Thanks!
Hi ,i have Missing start boundary exception while reading message..Following is message information.Can any one let me know how i can fix this problem.Received: from backup1.texterity.com ([68.112.246.59]) by exchange2003.scientificmonitoring.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 8 ...
hi freinds,i successfully done java mailing using weblogic8.1,but i cant use the same java mail coding against (netbeans5.0+bundled tomcat server) the javax.mail package is not recognized any idea to resolve this trouble....?
hi i already posted the problem .still i have not got the reply. i am using jboss-4.0.2 ant-1.6.0 jdk1.5.04error reportmakebuilddir:compileclasses:[javac] Compiling 161 source files to D:\New project\build\itracker\classes[javac] D:\New ...
Hi everyone, Im trying to return a Soap+ attachment response back using the following: attachDoc(byte[] bdoc, String sTransactionNumber,String sRequestedType)Where byte[] is the attachment and the 2 string parameters are soap message contents.The attachment is attached successfully to the ...
597 byte By
nthalia at 2007-11-26 22:48:18
Folks,Pardon the ignorance, but i'm not very conversant with EE apps. Trying to build, deploy and run from the command line gave me this error:deploy:[exec] CLI171 Command deploy failed : Deploying application in domain failed; Error loading deployment descriptors formodule [petstore] -- ...
2067 byte By
straivera at 2007-11-26 22:50:41
My entity bean uses an enum type the next way:@ Entitypublic class SomeoneEntityBean implements Serializable{private MyEnumType myEnumType;@ Enumerated(EnumType.STRING)public MyEnumType getMyEnumType(){return myEnumType;}public void setMyEnumType(MyEnumType myEnumType){this.myEnumType = ...
3620 byte By
edek234a at 2007-11-26 22:50:53
Hello,Sun Java System Application Server 9.1 (build b33e-beta)I have and .ear nad one of EJB modules is causing NPE both in deployment on AS and in verifier. I cannot go forward, the messages are meaningless. The same happens both during deploying/verifying complete EAR or single EJB jar ...
4359 byte By
jonasPa at 2007-11-26 22:50:55
The below schema and code works with 1.5 but reports the error below with 1.6.The schema also gets a clean run from the w3 checker http://www.w3.org/2001/03/webdata/xsv org.xml.sax.SAXParseException: s4s-elt-schema-ns: The namespace of element 'xs:schema' must be from the schema namespace, ...
388 byte By
vic_ska at 2007-11-26 22:51:49
Hello,Would anybody happen to know if there is a way to use JavaMail to determine if the recipient has read the email that was sent to them? Here is what I mean:1. An email is sent2. A sender is informed that the receipient has read the emailPlease, let me know what APIs I should use to make ...
hi,I have developed a web service using Jax-rpc. I am trying to invoke the web service using a java application client. i would like to know if two clients from two different machines try to access the web service, are the requests processed concurrently or sequentially. i am using tomcat ...
Hi all, can any one suggest some means of accessing SAP BW reports from any other application server other than SAP application server.Thanks,Ram.
807 byte By
SURYAa at 2007-11-26 22:53:21
hi friends...How to access an EJB from a Portlet. I've tried but its not working u have any idea Plz help me out...The scenario is I have portal running in a machine & appserver(weblogic) running in another machine and want to access EJB from my portal. I have tried with the t3 protocol ...
276 byte By
kribora at 2007-11-26 22:53:35
HiWe are using JWSDP 2.0 Web Services in an application we are working on. It requires receiving attachments with mime encoding. Could someone please tell me how to parse the attachments to separate files using JWSDP 2.0 SAAJ.Thanks a lot/Kristofer
Hi! to all!I am new to EJB.I was reading about RMI-IIOP, and got confused in the statement written in the book.It is as follows.*A remote procedure call (RPC) is a procedural invocation from a process on one machine to a process on another machine. RPCs enable traditional procedures to resode ...
I have 2 related questions on xml schemas.The first is whether it is possible to generate a schema dynamically and in-memory. Currently, I have a portion of an XSD fixed, and another portion dependent on configuration as well as mutable from triggers.From what I managed to find out, all I can ...
1135 byte By
ABC_SUN_a at 2007-11-26 22:54:12
Hi, does anyone know how to add an xml file to the SOAP message passed by the client to the server?I need to send an xml file, I have already tried attachments but they dont meet the purpose. I need to send the xml as part of the soap message in AXIS 1_4.I read this somewhere about SOAPEnvelope ...
hii have two comboboxs are there in first combobox i added Names of the countries in second one i added to the states of the each country. if i select one country name the i want to display the names of the states. plese provide code for that one in Java Server Facesthanks & ...
145 byte By
flyinga at 2007-11-26 22:55:07
LocalXX l = (LocalXX) ctx.lookup("XXBean/local")@EJB private static XXBean l;What is the difference between the two methods?
Hi,I making a user registration page. In that till date, a user registers with all the 'said' details and an email is generated to Admin specifying the details of the user and a link which takes the admin to the 'user-add' page in a web application. Now, I need instead of a link, the admin ...
My AppServer automatically starts on machine boot. How can I disable this? It's urgent please help.Thanks in advance.
hi i have a xml file , i need to retrieve certain data of xml. so i process of this way : public class ParserDOMBegeti{static Document document;//documentstatic Element rootElement;//racine public static void main(String[] args){ try{// cr閍tion d'une fabrique de documentsDocumentBuilderFactory ...
1966 byte By
montsiea at 2007-11-26 22:56:56
Hi AllI use the stax event api...I read an input.xml file and write the content to an output.xml file.import java.io.*;import javax.xml.stream.*;public class Main {private static XMLInputFactory inputfactory = XMLInputFactory.newInstance();private static XMLOutputFactory outputfactory = ...
1303 byte By
Equitonea at 2007-11-26 22:57:00
Hi everyone,I would like to employ JAX-WS to generate and publish a web service along with a web-based client which uses the service. The problem is: I want to deliver both the server (with its service) and the client to a customer, who will install the server on an internal machine, and who ...
How can I create a new folder on IMAP server.folder,create(int) i found this method but how it work I didn't get Please give some more guidencethank you
1015 byte By
balteoa at 2007-11-26 22:58:51
Hello,I have the following question about sql and ejb-ql:key pk action11 I 12 U13 U * 44 I *55 I *66 I67 DMy boss forces me to use a flat table as above. Here is what happened to this table:1. A user inserted a record (key and pk == 1)2. They then updated the same record. You will notice that ...
Hi! I have a short term project to develop a web page displaying in a table format. The data for thatcomes from 2 CSVs. and that table format should be exported to Excel. What I am going to do is first CSVs should be converted into XMLs and then merge XMLs and then convert it into HTML. First ...
I am trying to develop a simple web service using Axis2 as the server.I am placing the folder with required classes, META-INF and lib in the repository/services directory in Axis. The service is visible when the server is started and the WSDL file is generated automatically. I am using the ...
247 byte By
Ezhil_Ca at 2007-11-26 23:01:23
hi...i want to pass two arrays to the called client program after the completion of server execution ....this sould be in EJB..how to pass messg from server to the called client and also how to pass arrays...thank you..
Dear all,I discovered the following statement in the "J2EE 1.4 Tutorial - Chapter 27 Container_Managed Persistence Examples" ( http://java.sun.com/j2ee/1.4/docs/tutorial/doc/CMP3.html#wp79761)."A select method can return a persistent field (or a collection thereof) of a related entity bean. A ...
575 byte By
lokloka at 2007-11-26 23:01:50
<Order> <Manifest> <Item><ID>101</ID><NAME>Name one</NAME><PRICE>$29.99</PRICE></Item> </Manifest></Order>i can write the code to create a DOM for this one.but how can i write the code to get the DOM as shown ...
466 byte By
Vetala at 2007-11-26 23:03:25
Hello,I'm trying to read XML file using JAXB.The problem is when I'm trying to parse tag that have XML type xs:time I receve a null as XMLGregorianCalendar from this field because it represented as <TimeTag>14:00:00-06:00</TimeTag> without year-month-day. I can read it properly ...
Hi all,I'm new to J2EE programming. I have a simple doubt . I have already created a lookup method for EJB bean in Session bean .My question is how to call a method of an ENTITY bean (say insertRow) from SESSION bean method(Say invoke_insertRow) .Please provide me an example code .Thanks in ...
Hi All,Does any body know if it抯 possible to validate an existing DOM object with a schema. I have to use JAXP 1.2 so the JAXP 1.3 validation API is out of the question.Thanks,Jimmy
406 byte By
datuma at 2007-11-26 23:06:08
Hi all,We have a project that runs fine under jboss 4.0.4 and uses lots of @EJB annotations on fields to inject session beans.We're trying to switch to 4.0.5 and suddenly the @EJB annotations no longer work, and the relevant fields are not initialized.(@PersistenceContext annotations work ...
Hi All,I am interested to learn on SOA. Can I initiate a discussion thread on this topic where in the experts can share the information that will help the leaners. Does it interest you to start with very basics of SOA's like 1. What is SOA ? 2. What are the technologies that help to acheive ...
I want to store the message as draft in draft folder?How?thank you,sumant
1779 byte By
mirentxua at 2007-11-26 23:07:25
helloi have one ejb into weblogic, session ejb stateless.the ejb-jar file has this:<session><description><![CDATA[MiCallejeroSession ...
I am using Java Mail, and it is working fine. I have a problem though, when I open the attachment, it contains the file path.For example, the attachments should be Result.zip, and then I should get the files if I unzip them. On the contrary, I am getting the folder as a an attachment, that I ...
411 byte By
anbr19a at 2007-11-26 23:09:17
Hi,I am a trying to make some enchancements to my previous application. In this application we developed a form using jsp which contains few fields. Once a user fills this form and click the submit button an email should go to admin with a message ( record is submitted by the XYZ person). ...
452 byte By
annas24a at 2007-11-26 23:10:47
Hi,I have set up an axis server on my system, which runs oracle database. I now want to return my results to a client. Since my result can have many rows of the database, currently I am creating a comma separated list of my rows as a strings in my server and returning it to the client. Can ...
Hi,I used javamail api to send and receive mails from MS Exchange server. Send Mail Program : package com; import java.util.Date; import java.util.Properties; import javax.mail.Address; import javax.mail.Message; import javax.mail.Session; import javax.mail.Transport; import ...
hi,I am working on a project where we have to send mails which should not be editable to the receiver.can.i know its a stupid question.but the requirement is placed so.Can any one help meThanks!!!