Problem with binding Remote Object (JNDI/WebSphere)

HiI am having a problem trying to bind a remote object to the WebSphere 3.5 JNDI name service (com.ibm.ejs.ns.jndi.CNInitialContextFactory). When I use ctx.bind(java.lang.String, java.lang.Object) I get a java.lang.ClassCastException.I have included the relevant code below. I am using VisualAge 3.5. ...

JMS Error doing JNDI look up for Queue for Sun Application Server v9

HiI have written simple program to connect to JMS service runing locally on Sun Server V9The sample JNDI code is provided here Properties prop = new Properties();prop.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory");prop.put(Context.PROVIDER_URL,"iiop://localhost:7676/");jn ...

JMS Error

I am new to JMS. I am trying to write a program that will send messages using JMS. I am using Sun Application Server 9.0 ( deployed on a remote machine). I am using netbeans 5.5 to run the program. I have done the following configurations on the server using admin console1) created a connection Fact ...

CHKJ2877W: Missing JNDI Warning, How to fix?

Configuring a web pplication but after i set it up i get the below warning in RAD7 Does any one have any suggestions about what is wrong, and how to fix it?The warningCHKJ2877W: Missing JNDI name for reference jdbc/referenceNameThe xml for the resource reference<resource-ref><description ...

WebSphere for z/OS JNDI Names

When deploying to WebSphere for z/OS the deployment tool picks the JNDI names for EJBs which are of the form:<sysplex_name>/<server_name>/<application_name>/<module_name>/<component_name>/<class_name>This is fine for EJBs referencing other EJBs with the java:comp/ ...

WebSphere 4, resources and JNDI

I have developed web services using Apache Axis. My application was developed using Tomcat 4.1.X. Part of the solution involves connecting to a third party application to obtain data (similar to a database connection, but they provide their own connections). I successfully implemented javax.naming.s ...

How to share JNDI Context under WSAD 5 / WebSphere 5

I have an urgent question on how to share JNDI context on WSAD 5.0. My application run on 2 different servers while they used JNDI to share some common information. I am using Web Server 4.0 in WSAD before, I just set the URL provider pointing to the same machine, i.e. "iiop://myhost:900", then ever ...

WebSphere Relationships JNDI - Error

Hallo,I'm using the IBM WebSphere Relationship Extension to have relationshipsupport in my J2EE 1.2 environment. But in one case I always get an error. Iput the console ouput at the end of this message.I've implemented the following object modelclass BusinessPartner;class Company extends BusinessPar ...

Use a Websphere datasource/JNDi in EGL Batch

We try to run an EGL batch program from a web application. Usually EGL batch expects a file rununit.properties from where it get's all information about connection URL, user etc.. What we'd like to have is a possibility use Websphere datasources because it is not a very nice thing to have the connec ...

WAS configuration of websphere MQ - JNDI Connection failing

We have a stack of WebSphere MQ 7.0 and WebSphere App Server 5.x. We have a simple JMS interface between a deployed web application and MQ server. We have already defined QManager, Channel (connsvr) and queue (local) at the MQ end. We have also tried configuring the MQ provider at WAS end however we ...

Question about JNDI and WebSphere.

I am using WebSphere Studio Application Developer 4.0.2. If I want to use JNDI in my application need I configure something else in WSAD? (JNDI is automatically supported by WSAD?) Or need I install/configure something else in Windows 2000? ...

RAD deployment descriptor Issue: JNDI Naming for Websphere Binding is greyed out

I have a strange issue. A project was migrated from WAS 5.x to RAD 6. Everything works fine, I am able to make changes to existing beans, etc. The problem lies with adding session beans. Usually, when you add a session bean, it automatically adds the JNDI Naming in the deployment descriptor, but wit ...

Websphere MQ V7.0.1.6 Client Setup generates Symantec security risk warning

When installing Websphere MQ V7.0.1.6 Client a Symantec Endpoint Protection Notification is given:Scan type: SONAR ScanEvent: Security Risk Found!Security risk detected: Bloodhound.Sonar.9File: c:\documents and settings\jdg.datalex\local settings\temp\msi76.tmpLocation: QuarantineComputer: DATALEX-A ...

Remote JNDI lookup

I am trying to do remote JNDI lookup from a standalone client app to a JMS Queue connection factory located on a websphere appserver on another machine using code below. I keep getting errors for ServiceUnavailableException. I have set up Provider endpoint for the Queue connection factory but it has ...

jndi error

Can somebody please tell me wut the following warning means. I am getting this warning when websphere is loading my WebModuleSRVE0173W: Missing resource for resource-binding with jndi name.Any help would be greatly appreciated ...

problem in JNDI lookup for QueueConnection factory for JMS

I am using default Messaging on IBM-Websphere Application server V6 (trial version) on windows 2000.I have a JMS Sender class which sends the messages and a Reciever class which recieves the messages from the same Queue,for which a Queue Connection Factory is being configured with a name as Follows ...

Problems with Websphere 5.0 - DB2ConnectionPoolDataSource

I hav some problems running a websphere on a win2000 server without any db2 client or database on this machine and a db2 on another server.I try to use the DB2ConnectionPoolDataSource withint the db2java.zip package for this db2. When I configured the jndi datasource and I tried the connection, I go ...

WebSphere Portal Server connect to DB2???

When I connect to DB2 Server in jBoss Server, I use file db2-ds.xml like this and put it in deploy directory:<datasources> <local-tx-datasource> <jndi-name>DB2_2</jndi-name> <connection-url>jdbc:db2://ndnghiem/TEST</connection-url> <driver-class>COM.ibm.db2. ...

Cannot instanciate com.ibm.websphere.naming.WsnInitialContextFactory

I would like to connect remotely to the DB2 in linux machine using the JNDI lookup.In websphere development 5.1, this portion of code is working in 5.1 env ://///////////////////////////////////////////////////////////////////////Context MyCtx = null; DataSource MyDS = null; Hashtable parms = new Ha ...

Urgent - DB2-WebSphere AppServer JDBC connection Error on AIX

I am experiencing the exact same problem Ravi describes below.Does anyone know the resolution for this problem?========================================Hi,We are using WebSphere App Server AE 3.5.3 with DB2 6.1 sp5. Both areinstalled on an AIX box.We have configured the appropriate datasource called ...

DB2 JDBC 2.0 driver WebSphere v5 [CLI0626E getNameParser() is not supported in this version of DB2 JDBC driver]

Environment:Database: DB2 v7.x running on LinuxApp Server: WAS v5DB2 Client Software: Have run usejdbc2.bat file to make available theCOM.ibm.db2.jdbc.DB2ConnectionPoolDataSource driver that is required by WASv5 DataSources.When the server starts up, I get the following exception info in the WAScons ...

COM.ibm.db2.jndi.DB2InitialContextFactory replacement

Is there a replacement for the COM.ibm.db2.jndi.DB2InitialContextFactory or that can be cast javax.naming.spi.InitialContextFactory? In my db2jcc.jar there is no such class. We are trying to integrate a third party software with our Websphere application server and DB2 database. ...

Workplace XT warning: The publisher cannot be verified by a trusted source

IBM FileNet Workplace XT 1.1.4Test in browsers: IE8, FF3.6Run http://localhost:9080/WorkplaceXT/ContainerLogin.jspEnter login, password and appear next warning:The publisher cannot be verified by a trusted source.Code will be treated as unsignedSee pictureI'm press "Ok", and then"Java has discovered ...

Cannot instanciate com.ibm.websphere.naming.WsnInitialContextFactory

I would like to connect remotely to the DB2 in linux machine using the JNDI lookup.In websphere development 5.1, this portion of code is working in 5.1 env ://///////////////////////////////////////////////////////////////////////Context MyCtx = null; DataSource MyDS = null; Hashtable parms = new Ha ...

Deploy Websphere Client Application using Web Start

Does any one know the steps to follow to deploy a swing client through web start that connects to websphere using jndi?I have been looking at many sites, and so far, there are many pieces but no exact instructions, and I can't quite get the pieces to fit together. ...

client side ejb context for websphere

helloi want to migrate from weblogic to websphere,see following code:properties = new Properties();properties.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");properties.put(Context.PROVIDER_URL, "t3://127.0.0.1:7001");Contest ctx=new InitialContext(properties);.......... ...

Interoperablity Sun to Websphere

I can't get an InitialContext in a client on the SUN JVM. With the server up and using com.sun.jndi.cosnaming.CNCtxFactory as the context factory it just hangs. Do I need to use the websphere context factory? If so, what jars do I need to copy to the machine using the sun JVM? ...

Call EJB WAS from TOMCAT ( thru JNDI)

I need some help about a JNDI problem. From a Tomcat 5.0 ( a servlet in fact), I try to call a WebSphere Session EJB.My servlet code :try{Properties jndiProps = new Properties() ;jndiProps.setProperty( Context.INITIAL_CONTEXT_FACTORY , "com.ibm.websphere.naming.WsnInitialContextFactory" ) ;jndiProps ...

Adding JNDI functionality to vanilla IBM JDK 1.3.0

Is there anyway of enabling a vanilla IBM JDK 1.3.0 to use JNDI?My issue is that I need to act as an EJB client (iiop), but without access to a WAS installation / jar files. Basically, its a WMQI (2.1.6) thing. We've successfully managed to get a WMQI java node to act as a EJB client but only using ...

PreparedStatement.setDate crashes with NullPointerException on WebSphere application server

I'm developing a web application with IBM WSAD, on Windows platform. I use an Oracle database release 'Oracle9i Enterprise Edition Release 9.2.0.3.0' with JDBC.The problem is that if i execute the application within WSAD, on Windows platform, all works well.But if i install the application on WebSph ...

WebSphere V5.0 Security Holes

I have concerns over the security implementation in Websphere V5 - I'd appreciate any comments on resolving our concerns.1. Using a jdbc datasource when implementing a custom security realm does not appear possible as the websphere security service is started before jndi named resources are availabl ...

JNDI bind error - javax.naming.NoPermissionException

Not sure if this is the right group to ask Environment Websphere 6.1We have Enable administrative security turned onbut no JAAS or JAVA 2 Security enable.During web application start up we have a servlet which binds some objects to the JNDIInitialContext jcontext = null;try { jcontext =new InitialCo ...

Registration of datasource with JNDI

I have created datasource in websphere app. server but when i tried to access datasource from my servlet usind JNDI lookup, i got the error"Javax.Naming.NameNotFound" exception.how to solve this problem ?is there any way to register datasource created in Websphere app. server with JNDI ? ...

Calling Websphere EJB from sun jdk 1.2.2 on AIX

I'm trying to build an EJB client using sun jdk 1.2.2 on AIX. The system restricts me to use this JVM.I have a client that when run on sun jdk 1.2.2 in windows NT, connects to the WebSphere EJB successfully.When I try the same on AIX I do get a segmentation fault, and sometimes a coredump. Below is ...

Need help getting data connection through JNDI DataSource lookup

I've spent the last few days trying to figure out the solution to myproblem, and I thought maybe you experts can help me.There are three servers in the my setup.Database Server: The database server is where my database sits, it'srunning on Sun/Solaris.App Server: We are using IBM WebSphere 3.5 Enter ...

WebSphere testing Environment in Visual Age for Java

I am working in Visual Age for Java IDE version 4.0 profession edition forWindows 2000 professional.I started the WebSphere test environment and started the persistence name server.In my java code I am trying to get the JNDI initial context.I Used the following code:// Begining of my codeInitialCont ...

Connection Pooling Problem in WebSphere

I am using WebSphere Application Server for my Application. We have created a DSN name as 'MYDSN' in WebSphere Administrative Console. Sample code of getting the Connection object from Connection Pool is as below :Properties prop = System.getProperties();prop.put(Context.INITIAL_CONTEXT_FACTORY, "co ...

EJBs and WebSphere Application Developer

This question is regarding EJB development using WebSphere Application Developer. I have a simple Enterprise Application that defines a few EJBs and is bound to a db2 database. I have actually authored this project through the guidance of an online tutorial. Anyway, after following all of the steps ...

EJB Client failure, JNDI initial context not found

Client java program running in a command window under NT attempting to locate and create EJB Home fails with message 'Cannot instantiate class: com.ibm.ejs.ns.jndi.CNInitialContextFactory'. Same code executes correctly using Visual Age for Java IDE and it's Websphere Test environment. Apparently I'm ...

unable to access ORACLE datasource via JNDI

trying to access ORACLE datasource via JNDI throws javax.naming.NamingException: Error during resolve. Root exception is org.omg.COBRA.COMM_FAILURE: JORB0015: COMM_FAILURE exception. minor code:1 completed: No at com.ibm.COBRA.iiop.ConnectionTable.get (ConnectionTable.java:329) at com.ibm.COBRA.iiop ...

Websphere 3.0 and non websphere ejb client

HiI am writing an ejb client that will talk to an ejb on websphere 3.0. The client will reside on an iplanet server that uses jdk 1.2. The problem I'm having is as follow:When I run the ejb client in vaj 3.0 or wsad 4.0.3, I have no problem and I am able to communicate with the ejb.When I run the ej ...

JNDI look up problem

Can anyone suggest me whats wrong here..(My environment: Trying to run a standalone java program on native z/OS platform that calls EJBs deployed in Webpsphere AS for z/OS)I get the exception in my client program (line no: 817) which actually tries to create an Initial Context..Properties p = new Pr ...

JMS: jndi problem

HiI would like to send a JMS message on websphere 5.0.I am trying to initialize a jndi Context:context = new InitialContext();BUT when I am trying to perform a jndi lookup:qConnFactory = (QueueConnectionFactory)context.lookup(fName);queue = (Queue)context.lookup(qName);I get a javax.naming.NoInitilC ...

ibm websphere ejb client side context

helloi want to migrate from weblogic to websphere,see following code:properties = new Properties();properties.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");properties.put(Context.PROVIDER_URL, "t3://127.0.0.1:7001");Contest ctx=new InitialContext(properties);.......... ...

WSAD JNDI lookup problem

I'm using WSAD 5.0.1 with all available fixes. 2 instance of WSAD are running on machine1 and machine2. On machine1 I defined resource with jndi name "res1/SomeResource" and on 2'nd machine "res2/SomeResource". On 1st machine the code in jsp page listed below throws NameNotFoundException.When i trie ...

Using Resource Environment Providers in Websphere

I am using the Jakarta Commons DBCP datasource provider for making database connections. This works perfectly in a Tomcat environment and it is provided as a JNDI resource to our applications.I am now also trying to configure this component in Websphere Application Server 5.0 since WAS does not prov ...

JNDI and JCA Resource Adapter

I have written a domino resource adapter and now i'm trying to use it on the websphere portal server in a portlet. But I have a problem to get the connection factory per JNDI. How does it concretely work? I seem to do something wrong with the JNDI-name... ...

Accessing J2C resource connector as JNDI from portlet in Portal Server 5

I am trying to configure WPAI portlet builder for Peoplesoft in WAS5.1/WPS5.0 environment. According to the documentation I configured J2C Resource adapter in WAS Admin Console, with JNDI path for connection factory as "eis/psft". But when I use this JNDI path in the configure panel of Peoplesoft bu ...

JNDI exception

I am developing a java web based application using WebSphere Application Server 5.0 and Oracle 9i DataBase. For develop, I'm using WSAD 5.0. The application is running on IBM AIX operating system. I configured JDBC resurces following what specified in IBM RedBook: JDBC provider JDBC datasource compo ...

JNDI exceptions

I am developing a java web based application using WebSphere Application Server 5.1 and db2 7.2 DataBase. For develop, I'm using WSAD 5.1. I configured JDBC resurces following what specified in IBM RedBook: JDBC provider JDBC datasource Container-manager authentication alias; but when my application ...