J2ee connector deployment
hi,
I am testing and deploying mailadapter example from sun site on my OC4J, infact i only deploy it outbound part because my requirments are synchronous connectivity with EIS
But i am getting following error
Unable to set up connection factory to location eis/MyEmail for a resource adapter deployed as stand-alone:
Unable to find managedconnectionfactory-class class com.warid.connectors.emailconnector.outbound.ManagedConnectionFactoryImpl.
Unable to set up connection factory to location eis/MyEmail for a resource adapter deployed as stand-alone.
Regards,
Imran
Looks like you need to tell us more...
How is your adapter packaged?
Which files are included (deployment descriptors, etc)?
--olaf
Similar Messages
-
How can I use log4j-1.2.x in a J2EE connector?
My J2EE connector internally uses log4j-1.2.6. Although the log4j.jar file is part of the .rar file and a Class-Path entry has been added to the manifest, I get the following error message when trying to deploy the connector to WLS 7.0: " javax.resource.spi.ApplicationServerInternalException: Error loading class ManagedPayAdvConnectionFactory
. Reason: org/apache/log4j/Logger"
Any help is appreciated.
I have only had success using the Class-Path: manifest header using an EAR deployment.
With a standalone RAR, it seems to be ignored.
The EAR structure should be similar to the following
/META-INF/Manifest.mf - standard manifest
/log4j-1.2.6.jar
/foo.rar
Then, in foo.rar's Manifest.mf, set the Class-Path relative to the EAR root (i.e.
- Class-Path: log4j-1.2.6.jar). Naturally, the down side is that everything using
this connector must now be in the EAR with the connector, due to isolation issues.
-Jason
Hubert Windl <[email protected]> wrote:
>My J2EE connector internally uses log4j-1.2.6. Although the log4j.jar
>file is part of the .rar file and a Class-Path entry has been added
>to the manifest, I get the following error message when trying to deploy
>the connector to WLS 7.0: " javax.resource.spi.ApplicationServerInternalException:
> Error loading class ManagedPayAdvConnectionFactory
>.. Reason: org/apache/log4j/Logger"
>
>Any help is appreciated.
-
J2EE Connector? Java Messages? which?
I am designing our J2EE product that will put our legacy data into
the J2EE environment. We have a J2SE API to access the data.
We want clients to have access to the legacy system without
each client needing to make their own connection directly to the system.
The API for our J2SE has synchronous and asynchronous calls.
I have read about J2EE Connectors and I see our data server being
an Enterprise Information System (EIS) and a need for a Resource Adapter.
Is this right? Is this how others have brought data from legacy systems to the
J2EE environment?
Should I use Java Messages to send the asynchronous data?
Since the queues are static and multiple clients will want the data,
a set of static queues could become bottlenecks for several clients.>
I have read about J2EE Connectors and I see our data
server being
an Enterprise Information System (EIS) and a need for
a Resource Adapter.
Is this right? Is this how others have brought data
from legacy systems to the
J2EE environment?
Yes, this is correct. Your backend system is exactly what the connector architecture authors had in mind as an EIS. A resource adapter would be, in my opinion, the best way to connect your J2EE app to the EIS data.
Should I use Java Messages to send the asynchronous
data?
Since the queues are static and multiple clients will
want the data,
a set of static queues could become bottlenecks for
several clients.If I remember the spec for the JCA 1.5 correctly, the application server should 'publish' (i.e. deliver) the message to all message driven beans that are configured (by means of the deployment descriptor) to accept messages of a given type. So delivering the message to multiple clients should be no problem. -
Do any of you guys having a clear idea of J2EE Connector?
I need help in writing Resource Adapters for a specific EIS.
Plz let me know about your suggestions.
Thanks in advance.
with regards,
NRK.Steps to write a JCA resource.
1. Write the code. This code should implement the interfaces that the application server will expect, and any custom stuff related to your EIS.
2. Put the code in a .jar file.
3. Write a ra.xml file for the resource. This will say what actual classes that you have written implement the interfaces that the app server will expect to find, some parameters and some meta data.
4. Put the .jar file and the ra.xml file into a .rar file ( which is a .jar file under a different name.)
5. Deploy this. I don't know about Weblogic - how you'd deploy this, so check the docs.
The sites on the internet and the Sun book on JCA will say exactly which interfaces you will need to implement, and I strongly recommend you get the book. -
Hi xperts,
Would like to know more about weblogic integration in EAI zone using J2EE
I checked on
http://java.sun.com/j2ee/connector/
http://java.sun.com/j2ee/white/connector.html
Can anyone elaborate more on it? give me relevent more links??
thnxs in advance
--harshal
http://www.bea.com/solutions/integration/index.shtml
Harshal Pendse wrote:
> Hi xperts,
>
> Would like to know more about weblogic integration in EAI zone using J2EE
>
> I checked on
> http://java.sun.com/j2ee/connector/
> http://java.sun.com/j2ee/white/connector.html
>
> Can anyone elaborate more on it? give me relevent more links??
>
> thnxs in advance
> --harshal
-
Announcing J2EE Connector for Weblogic 6.0 SP1
The Weblogic J2EE Connector Architecture Beta 2 is now available
for download. This release supports the recently released Weblogic
Server 6.0 SP1.
To download the Weblogic J2EE Connector Beta, refer to either the
Developer Center (http://developer.bea.com/code/wls.jsp) or Product
Center (http://commerce.bea.com/downloads/weblogic_server.jsp)
Edit the registry.xml file and change "6.0 Beta" to "6.0"
-Greg
On 12 Mar 2001 10:02:19 -0800, "Raman Trikkur" <[email protected]>
wrote:
>
Hello Kumar,
Here is my registry.xml.
<?xml version="1.0" encoding="UTF-8"?>
<bea-product-information>
<host name="ramantrik2pc">
<product name="WebLogic Server" format="1.0">
<release level="6.0 Beta" Status="installed" InstallDir="D:\bea\wlserver6.0"
InstallTime="Mar 1, 2001 5:18:57 PM" InstallSet="Server">
<component name="Program" />
<component name="Samples" />
</release>
</product>
</host>
</bea-product-information>
Thanks for helping me figure this out. If this doesn't work,
I'll just try installing the whole package (WLS 6.0 with SP1
applied) as Xiang suggested.
Regards,
Raman
Kumar Allamraju <[email protected]> wrote:
could you post your registry.xml ?
Raman Trikkur wrote:
Hi,
I'm trying to get the service pack SP1 ((wls60sp1_upgrade_win.exe)
) installed on my NT box. I have wls 6.0 installed andworking.
After unpacking and choosing my bea home directory (D:\bea),I
get an error that says "Weblogic Server Service Pack1 Installation
failed. You do not seem to have Weblogic server 6.0installed for
BEAHOME D:\bea".
But that is untrue. I DO have it installed in D:\bea,and I have
the environment shell up by running setEnv.cmd and Iinvoked the
service pack installer from within that shell.
Is there anything I'm missing? Has anyone else encounteredthis
problem? Any help with this would be much appreciated.
Regards,
Raman -
J2EE connector API in WLS6.1 and listening to CMP/CMR
Hi,
I am interested in knowing any of your experience using J2EE CONNECTOR architecture
in WLS6.1, especially;
[1] Using it to obtain transaction events on CMP /CMR on business objects (s.a
EJBS) that employ webLogic CMP engine,
[2] Whether the J2EE connector APIs in WebLogic allow third party plugins (like
TopLink) to subscribe, s.t. other plugins (like the adapter which I may develon),
would be able to "listen" to the transaction events from the third party adapters,
[3] Any examples in WLS6.1 on using and configuring J2EE connector APIs,
[4] Other possibilities exist in WLS for obtaining CMP events notifying modifications
to application object state
Thanks in advance,
-hari
Hi. It is possible to package native code along with a RAR. Further, in J2EE 1.4, it is possible to write MDBs that implement arbitrary message listener types, return values, throw exceptions, etc.
-
J2ee Connector basic questions
Hi all,
I have a few basic questions about j2ee technology and legacy systems.
In the past year I have used Bea Jolt to "talk" with Tuxedo legacy code,now I
read about weblogic j2ee Connector and I have the following question: they are
2 technology in competition, or they can be collaborative ? I mean If I want to
"talk" to legacy system I can choose between:
1) "portable" solution (so I keep j2ee Connector)
2) Vendor tecnology (Bea Jolt or Tuxedo connector)
Please correct me if I'm wrong...I'm a bit confused on this topic....
Thanks
Francesco
Hello folks, please share your experience working with the lotus notes connector.
Thanks, M -
J2EE Connector Architecture(Omni Portlet)
Hello,
In the Developer Guide ,(http://download-west.oracle.com/docs/cd/B14099_10/portal.1012/b14134/pdg_matrix.htm#CEGFBJEC)
it is mentioned about J2EE Connector Architecture as a data source. In the omni portlet data source type it is not listed. How can I configure and use it for data source?
I am using 9.0.4 version of Portal
Any help is highly appreciable.
ThanksWe are trying to do a JCA Adapter and are running into the same type of questions as you. Clearly, no one is watching this topic. Have you found a reference application to test the RA against?
Please feel free to contact me at [email protected] -
Does j2ee connector support socket connection?
Can I write a resource adapter to connect with a socket server?
Thanks a lot. I think I will also be a beaer, since I was borlander before.
This problem cause by I installing wls7.0 and wls6.1 together. After I
remove wls7.0, everything ok! I think you should check this problem.
May I introduce our project at first? Now our team is developing Telecom OSS
system. there is lots of legancy system written by unknown language and in
unknown tier. The Telecom customer want to put new system into execution
smoothly. I think about WLI. As you said, I can use adapter in weblogic,
aren't I? I am not very clear. I will check by myself.
I have also asked another question in other group, but no answer. it is:
How to use weblogic.j2eeclient.Main? I really want to have a general test
ejb client. That is, given ejb classes name and method name and method
parameter value, I can get any ejb object method result. How can I do it?
Can reflection and classloader do it?
"Timothy Potter" <[email protected]> дÈëÏûÏ¢ÐÂÎÅ
:[email protected]...
> Dear airwing,
>
> Looks like you are attempting to run WLI within a cluster. At this point,
I
> recommend opening a case with BEA technical support. It may end up back on
> my queue, but our technical support can help you through debugging the
> basics.
>
> Best regards,
>
> Timothy Potter
> Senior Software Engineer
> eCommerce Server Division
> BEA Systems, Inc.
>
> "airwing" <[email protected]> wrote in message
> news:[email protected]...
> > error infomation:
> > <2002-3-12 ÏÂÎç02ʱ47·Ö19Ãë> <Critical> <WebLogicServer> <Failed to
invoke
> > shutd
> > own class "WLAI_ShutdownClass", java.rmi.RemoteException: EJB Exception:
> > neste
> > d exception is:
> > java.lang.IllegalStateException: Server 'myserver' has not been
> > register
> > ed with the Admin server>
> > "Timothy Potter" <[email protected]> дÈëÏûÏ¢ÐÂÎÅ
> > :[email protected]...
> > > Dear airwing,
> > >
> > > As Cameron indicates this is possible. The ManagedConnection will most
> > > likely wrap a java.net.Socket instance. I wrote a J2EE Connector
> resource
> > > adapter for FTP which should give you some pointers on how to do this.
> > Have
> > > a look at the WLI 2.1 File Adapter on:
> > >
> > >
> >
>
http://dev2dev.bea.com/code/codedetail.jsp?productType=weblogic+integration&
> > > codeType=code+sample&highlight=none
> > >
> > > Best regards,
> > >
> > > Timothy Potter
> > > Senior Software Engineer
> > > eCommerce Server Division
> > > BEA Systems, Inc.
> > >
> > > "airwing" <[email protected]> wrote in message
> > > news:[email protected]...
> > > > Can I write a resource adapter to connect with a socket server?
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-
Hi,
I know it seems a little strange but my application has to use a J2EE Connector for CICS communication without an Application Server.
The connector makes use of JNDI service to find a connection generator object. Can I bypass this condition and instantiate a ConnectionFactory without a look up action?
Thanks in advance.Hi,
The J2EE Connector Architecture states that the ConnectionFactory object should be retrieved by making a JNDI lookup, rather than explicitly creating it in the code.
I found that if you need not to use JNDI lookup, you could use the code for communication with CICS:
//create and set values for a managed connection factory for EPI
EPIManagedConnectionFactory mcf =new EPIManagedConnectionFactory();
mcf.setConnectionURL("<url>");
mcf.setServerName("<ServerName>");
//create a connection object
ConnectionFactory cxf=(ConnectionFactory)mcf.createConnectionFactor();
Connection connection =cxf.getConnection();
Best regards. -
J2ee Filter deployment Problem
I am trying to deploy CASFilter (tomcat) for sap.com/irj application. I created a library with the jar containing filter class and deployed it to the j2ee engine (6.40).
Then I configured the refrence from sap.com/irj to this library. The error I see in the trace file is:
#1.5#000D600451C400420000002600000CFC0003FEF1B11010EC#1124738941603#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#sap.com/irj#com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents#Guest#34####fe49f540134211daaf1d000d600451c4#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Plain###Can not load filter < CAS Filter > The error is: javax/servlet/Filter#
#1.5#000D600451C400420000002700000CFC0003FEF1B1101673#1124738941603#com.sap.engine.services.servlets_jsp.Deploy#sap.com/irj#com.sap.engine.services.servlets_jsp.Deploy#Guest#34####fe49f540134211daaf1d000d600451c4#SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Plain###<u>Can not load filter < CAS Filter > The error is: <b>java.lang.NoClassDefFoundError: javax/servlet/Filter</b></u>
Loader Info -
ClassLoader name: [sap.com/irj]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:ejbserialization
service:licensing
library:core_lib
library:sapxmltoolkit
library:com.sap.mona.api
library:com.sap.util.monitor.jarm
library:tcconnconnectorframework
library:com.sap.datadirect
library:com.sap.mw.jco
library:com.sap.tc.Logging
library:com.sap.ip.basecomps
library:com.sap.aii.proxy.framework
library:com.sap.aii.util.misc
service:prtbridge
service:com.sap.portal.prt.sapj2ee
<u>library:SSOClient</u>
The library I deployed is library:SSOClient
The custom filter class in my library depends on the Filter class in the servlet.Jar but some reason this refrence is not working.
I would appreciate any help.
Thanks
RaoHello Rao,
Were you able to resolve this issue? Could you pls. provide me the details on how you resolved it?
Thanks,
Shiva. -
Hy all,
How to deploy a connector with J2EE SDK.
I added a .rar file in my application, but when i deploy my app, a IOException is throw.
I've utilized the verifier tool and no erros are presented.
Have anybody a example?
Thanks.Sorry but then I have no idea. I have written a JCA 1.5 (in J2EE 1.4) RA.
JCA 1.5 has an additional class called ResourceAdapter. Its start method
is called when the RA is deployed. In this case the start method can throw
some exceptions. But in JCA 1.0 this class does not exist so as I know RA related methods are not called at deployment time.
zahor -
J2ee Application Deployed,error connecting to 9i db
Hi,
I am working on a Oracle 10g 9.0.4 AS and a Oracle 9i db, both of which I have just installed on red Hat Linux 2.1 Advanced Server.
I have deployed a j2ee ear file in an OC4J container. The deployment works fine as I get the login page correctly. But it fails to go further than that and gives an error "contact system administrator".The Http Server logs show the following error messages :
[Fri Mar 25 13:07:22 2005] [error] [client 127.0.0.1] [ecid: 172.16.117.169:61745:1111736242948,2] MOD_OC4J_0015: recv() returns 0. There
has no message available to be received and oc4j has gracefully (orderly) closed the connection.
[Fri Mar 25 13:07:22 2005] [error] [client 127.0.0.1] [ecid: 172.16.117.169:61745:1111736242948,2] MOD_OC4J_0054: Failed to call network
routine to receive an ajp13 message from oc4j.
[Fri Mar 25 13:07:22 2005] [error] [client 127.0.0.1] [ecid: 172.16.117.169:61745:1111736242948,2] MOD_OC4J_0033: Failed to receive an
ajp13 message from oc4j.
[Fri Mar 25 13:07:22 2005] [warn] [client 127.0.0.1] [ecid: 172.16.117.169:61745:1111736242948,2] MOD_OC4J_0078: Network connection errors
happened to host: midtier.mastek.com and port: 3303 while receiving the first response from oc4j. This request is recoverable.
I have configured a user in the database with the reqd schema and also a datasource pointing to it and whose jndi name I have specified in the application.
Also, I get an error saying in the OC4J container :
05/03/25 13:02:28 log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
05/03/25 13:02:28 log4j:WARN Please initialize the log4j system properly.
indicating that mebbe the logging hasnt been successfully installed and that's mebbe why I am not getting proper error messages.
I am thinking that there maybe some error in the connection to the 9i database, but cant figure out what.
PLEASE,PLEASE HELLLLPPPPP!!!!Also got these in logs
emias.log
com.evermind.server.http.HttpIOException: Broken pipe ---> Enterprise Manager
em-application.log
Broken pipe sometimes followed with : java.io.FileNotFoundException: Could not find ias/.uix
and : java.io.FileNotFoundException: Could not find ias/clusters/.uix
OHS errors :
[warn] [client 127.0.0.1] MOD_OC4J_0078: Network connection errors happened to host: midtier.mastek.com and port: 3303 while receiving
the first response from oc4j. This request is recoverable.
March 25, 2005 12:47:15 PM IST HTTP_Server Error ohs [error] [client 172.16.117.254] (32)Broken pipe: MOD_OC4J_0087: Got an unexpected error while calling send() to send a message to oc4j
and the error code is 32.
March 25, 2005 12:47:15 PM IST HTTP_Server Error ohs [error] [client 172.16.117.254] MOD_OC4J_0053: Failed to call network routine to send out an ajp13 buffer message to oc4j.
March 25, 2005 12:47:15 PM IST HTTP_Server Error ohs [error] [client 172.16.117.254] MOD_OC4J_0032: Failed to send out an ajp13 message to oc4j.
March 25, 2005 12:47:21 PM IST HTTP_Server Error ohs [error] [client 127.0.0.1] MOD_OC4J_0015: recv() returns 0. There has no message available to be received and oc4j has gracefully (orderly)
closed the connection.
March 25, 2005 12:47:21 PM IST HTTP_Server Error ohs [error] [client 127.0.0.1] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j.
March 25, 2005 12:47:21 PM IST HTTP_Server Error ohs [error] [client 127.0.0.1] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j. -
Using Web Dynpro WDUrlGenerator from within J2EE Application deployed on NW
I have two applications deployed on a NetWeaver Application Server 2004s.
1. A Web Dynpro application.
2. A J2EE Application
What I want to do is to be able to build a url to the Web Dynpro application from within the J2EE application. Obviously the problem is using Web Dynpro classes within the J2EE application.
So I edited the Java Build Path of the J2EE application to include the werbdynproservices.jar file and exception.jar files by extending ECLIPSE_HOME variable in the libraries section. I also checked them in Order and Export. I verified the built .war file and it does contain the two .jar files.
This was sufficient to get my project build and deployed, however the servlet in my J2EE application shows NoClassDefFoundException when I run it. My guess is there's more I need to do to get the WDUrlGenerator to run in my J2EE class.
Is this possible or is there a better way? I am trying to avoid the client having to modify a web.xml for each depployment.
Thanks in Advance.This looks like what I want, but I am unable to test it.
I found the application-j2ee-engine.xml file under the <project-root>/gen_wdp folder. I then attempted to open it with the SAP EARDD editor. It opens with the Source tab selected. If I try to click the General tab I get an error saying:
"The source page has errors. Other pages cannot be used until these erros are corrected."
I see nothing wrong with the XML document. It's source is here:
<?xml version="1.0" encoding="UTF-8"?>
<application-j2ee-engine>
<provider-name>local</provider-name>
<modules-additional>
<module>
<entry-name>EVENTS_WorkflowNotification.wda</entry-name>
<container-type>webdynpro</container-type>
</module>
</modules-additional>
</application-j2ee-engine>
When I deploy the application, everything works fine. I was going to edit the XML document by hand, but of course there is no DTD listed so I don't know what's supposed to go in there without the Editor doing it for me.
Getting closer. Thanks so much.
Maybe you are looking for
-
I am trying to initially install firefox - when I get to page where I must enter "user name" and "password," I follow prompt and enter Michele-PC\Michele but nothing happens and I can't complete installation by getting to Firefox wizard set up == Thi
-
Updating Page Sentry for APEX 4.0
Hi there, I've found this forum and the regular posters and mods to be extremely helpful, so this post is more of a give-back, I hope. We recently upgraded a dev system of apex 3.0.x to 4.0.2 and ran into some issues where our use of some Page Sentry
-
Is there a simple way to downsample songs without re-adding them to the library?
Hello all, here's my problem. I have a library of about 60 days worth of music, 176GB in size. I have most of my songs in 256kbps and above, with a vast amount in 320mp3. I use the Date Added sorting a lot and I do not want to mess up the chronologic
-
Is there a BADi or User Exit that can be implemented that updates the Telephone Field in IT105 if you change the Telephone Field in the User Master Record via SU01 or If you change the Telephone Field in the User Master Record via SU01 that it update
-
Steps to configure Solution Monitoring for Satellite Syst.
Hi Experts, I am using my friend's ID for posting my query. I need to configure Solution monitoring of different Satellite Systems in our Solution Manager server. Could you please give me the steps for configuring the same. Please help. Thanks in adv