ibm.software.websphere.studio.enterprise-developer
  Home FAQ Contact Sign in
ibm.software.websphere.studio.enterprise-developer only
 
Advanced search
January 2007
motuwethfrsasuw
1234567 1
891011121314 2
15161718192021 3
22232425262728 4
293031     5
2007
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2007 2006    
total
... tudio.enterprise-developer Profile…
RELATED GROUPS

POPULAR GROUPS

 Up
  Name not found in context "java:"         


Author: dealton002002
Date: Jan 12, 2007 07:24

I know that this is a topic that has been disscussed in detail. I had my datasource connection working fine. Then I had to reference a new alias and connection. I have changed everything in my bean to reference the new JNDI

protected void initializer() {
select = new DBSelect();
try {
select.setDataSourceName("java:comp/env/jdbc/MyDB");
select.setCommand("SELECT * FROM MyDb.MD_HOLD");
execute();
} catch (SQLException ex) {
ex.printStackTrace();
}
}

And yet I still get this:

[1/12/07 9:42:48:688 EST] 00000041 SystemErr R com.ibm.db.beans.DBException: Unexpected error; javax.naming.NameNotFoundException: Name "comp/env/jdbc/MyDb" not found in context "java:".
at com.ibm...
Show full article (6.08Kb)
no comments
  ObjectStoreFullException Using JMS Client         


Author: anish.pyne
Date: Jan 3, 2007 14:16



Search for within WebSphere Process Server forum-------------------dW forumsInformation management forumsRational forumsTivoli forumsWebSphere forums-------------------Autonomic computing forumsGrid computing forumsJava technology forumsLinux forumsOpen source forumsPower architecture forumsSample IT projects forumsSOA & Web services forumsWireless forumsXML forums

Post new topic Watch topic Watch listForum settings Help

Next topic All forum topics

My developerWorks

Welcome, Guest

Sign in or register

ObjectStoreFullException Using JMS Client
Originally posted: 2007 Jan 03 05:08 PM
anishpyne Post new reply

I am getting the following exception intermittently while using the IBM JMS client.

10 217 1/2/07 10:24:00:055 EST com.ibm.ws.sib.comms.server.ObjectStoreFullException com.ibm.ws.sib.comms.server.clientsupport.StaticCATProducer.rcvCreateProducerSes... 3-008-0002
11 218 1/2/07 10:26:00:051 EST com.ibm.ws.sib.comms.server.ObjectStoreFullException com.ibm.ws.sib.comms.server.ConversationState.extendObjectTable 5-004-0001

The code which i used to send the JMS messages is as follows:-
Session session =
connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
Destination dest = (Destination) ctx.lookup(JMS_ALERT_EMAIL_QUEUE);
MessageProducer producer = session.createProducer(dest);
Show full article (1.79Kb)
no comments
  Re: JVM Terminated. Exit Code=1 SOLVED - eclipse.ini file double initializing the JVM eclipse.exe         


Author: mail
Date: Dec 26, 2006 20:28

I managed to fix it after my installation. I just cleared out the contents of the eclipse.ini file. With the eclipse.ini file flushed out, I could start the tool.

I documented my experience at the JavaRanch:

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=12&t=0044...

A small bump in the road. Have fun with IRAD 7!

-Cameron McKenzie
Author of What is WebSphere?

Free IRAD 7, WebSphere, Java and J2EE Tutorials: http://www.mcnz.com
Free Java Certification Mock Exams: http://www.scja.com
Free WebSphere Tutorials: http://www.pulpjava.com

Symptom:

When starting IBM's Rational Application Developer (IRAD 7) using eclipse.exe, you get the following error:
Show full article (1.06Kb)
no comments
  Re: CORBA MarshalException - Unable to read value from underlying bridge - IBM minor code: 896         


Author: milsoft
Date: Dec 18, 2006 06:00

Hi,

We have the same problem with Websphere Network Deployment 6.1. We are using Hibernate for OR persistency. When returning retrieved data from the server to the client, CORBA MARSHALL exception is raised due to proxy objects.

Any ideas?

Thank you very much,
Serkan Toprak
1 Comment
  Error when enabling security in WSAD 5.1.2         


Author: rida.abrahams
Date: Dec 15, 2006 05:37

Hi,

Please assist me in solving the problem I'm experiencing when enabling security in WSAD 5.1.2:

SECJ0305I: Role based authorization check failed for security name , accessId UNAUTHENTICATED while invoking method rebind_java_object on resource NameServer and module /com/ibm/ws/naming/bootstrap/xml/NameServer.xml.

The program executes correctly when security is not enabled.

I have an EJB that uses Hibernate to query a SQLServer 2000 database.

The instant I execute this code:

String configFileName = "hibernate-system.cfg.xml";

new Configuration().configure(configFileName).buildSessionFactory()

I get the Role based authorization check exception stated above.
The call to the JNDI name: "hibernate/HibernateFactorySystem" fails with a permission error.

I've include my hibernate config file and the stack trace in the attachment.
no comments
  Problem in creating and configuring datasource using websphere 6.0         


Author: ahiit77
Date: Dec 13, 2006 23:29

Hi all,

Please tell steps how can i create DataSource using admin console of websphere and also tell how can i use that DataSource in my application.
Currently i am succesful in creating DataSource using admin console but may be i have missed a step becaz with that DataSource i fail to connect with my application and got this (javax.naming.NameNotFoundException: Name "sample1" not found in context "java:comp/env") error.

Kindly tell in detail which file like web.xml, ibm-web-bnd.xmi or any other which i should configure.

Thanx and Regards,
Salman Ahmad Akmal
no comments
  Nothing is displaying in WebShere studio console         


Author: gaetan_ch
Date: Dec 13, 2006 00:58

When the server is launching, we can see the messages in the console. Next, after a undetermine time, the System.out.println() not send message in console any more.
Log4j too but It sends nice in defining log file.
The System.err.println() is always displaying.

WebSphere: 6.0.1 on VMWare
No problem with Websphere 5.x !!!!

Any idea?

Thans a lot for your answer.
no comments
  Re: API for com.ibm.ejs.*         


Author: sriworks
Date: Dec 11, 2006 19:44

Hi,

Even I had the same issue. I found it in /runtimes/com.ibm.ws.admin.client_6.1.0.jar.

-Sridhar
no comments
  Error: Cannot deserialize element         


Author: dhatri_p
Date: Dec 6, 2006 13:08

I am using web sphere 5.1.2 and having problem testing my webservices. I get following error

WebServicesFault
faultCode: Server.generalException
faultString: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element actionIndicator of bean com.caremark.psd.mailorder.webservices.wsdl.wsmodel.PrescriptionValidationRequestData. To see the message containing the parsing error in the log, either enable web service engine tracing or set MessageContext.setHighFidelity(true).
faultActor: null
faultDetail:

org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element actionIndicator of bean com.caremark.psd.mailorder.webservices.wsdl.wsmodel.PrescriptionValidationRequestData. To see the message...
Show full article (2.73Kb)
1 Comment
  Re: Exception in Looking up DataSource in WAS 5.1         


Author: muks_kej
Date: Dec 6, 2006 08:56

> Hi There. I am also running into the same issue. I am
> using WSAD 5.1 (and I am new to it) I have created a
> datasource and I am trying to access it through a
> simple Java application as follows
> public class HelloWorld {
> public static void main(String args[]){
> System.out.println("Hello World");
> try
> {
> Hashtable env = new Hashtable();
> env.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.web
> sphere.naming.WsnInitialContextFactory");
> InitialContext ctx = new InitialContext(env);
> System.out.println("InitialContext success" + ctx);
> Object obj = (Object)ctx.lookup("jdbc/ds1");
>
> DataSource ds = (DataSource)obj;
>
>
> ...
Show full article (1.01Kb)
no comments
1 2 3