Exception thrown during OSM7 installation-unresolved lib references
Hi,
I am using jdevstudio11113install.exe to install WL Server + ADF.
During OSM 7.0.3 installation, i am getting exception as
<Oct 17, 2012 4:53:31 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1350473008281' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]*Error while processing library references. Unresolved application library references, defined in*
*weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: false].*'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
>
However, i have checked weblogic-application.xml file and could not find any entry for these extension-name. Can anybody help me in solving this issue please?
Thanks and Regards,
Shital
You have not created WebLogic domain correctly . OSM is developed using ADF framework and you need to select "Oracle JRF-11.1.1.0[Oracle_common]" & "Oracle JJRF WEbServices Asynchronous services -11.1.1.0[oracle _common]"while creating the WebLogic domain.
Similar Messages
-
Revision: 1043
Author: [email protected]
Date: 2008-03-31 15:22:13 -0700 (Mon, 31 Mar 2008)
Log Message:
Bug: LCDS-184 - Concurrent modification exception thrown during remote subscription management
QA: Yes
Doc: No
Details:
Make the 'subscriptions' set in MessageClient/RemoteMessageClient concurrent modification safe.
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-184
Modified Paths:
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/RemoteMess ageClient.java -
Revision: 1044
Author: [email protected]
Date: 2008-03-31 15:23:07 -0700 (Mon, 31 Mar 2008)
Log Message:
Bug: LCDS-184 - Concurrent modification exception thrown during remote subscription management
QA: Yes
Doc: No
Details:
Make the 'subscriptions' set in MessageClient/RemoteMessageClient concurrent modification safe.
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-184
Modified Paths:
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageClient.java -
Exception Thrown During an EJB Invocation
Hi,
I am using J2EE 1.4_01 and PointBase Database and try to invoke a CustomerBean which loads customer information in PointBase. The throw exception "javax.ejb.EJBException: nested exception is:j ava.lang.NullanksointerException" occur when invoking the EJB. Would like to ask what the meaning on the excpetion and how to solve it?
ThanksI am using J2EE 1.4_01 and PointBase Database and try
to invoke a CustomerBean which loads customer
information in PointBase. The throw exception
"javax.ejb.EJBException: nested exception is:j
ava.lang.NullanksointerException" occur when invoking
the EJB. Would like to ask what the meaning on the
excpetion and how to solve it?I have never heard about this exception in particular. If you mean NullPointerException, it is a runtime exception caused by performing some operation of a null reference instead of an initialized object. This could be accessing member variables (if they are accessible) or invoking methods... -
Structural Exception thrown during Automatic Import in MDM
Hello Experts,
While importing material records automatically MDM throws a structural exception. When i try importing the same exception file using Import Manager Import status=Ready for Import and the records are imported successfully.
The same Import map and properties when applied on the TEST environment also works properly for both Automatic and Manual import.
Can anyone advice a solution to this.
Thanks in advance,
Elizabeth.Hi Jacob,
Just check your source file if any new segment occur or segment value is repeating but ideally it should not because in manual import it will work by ignoring this value where during automiz it gives an error
Also i mention in previous thread provide us MDM server log details snaps when structural exception occure along with date and time information so based on log detail we can provide suggestion
Thanks,
Jignesh Patel
Edited by: jignesh patel on Aug 20, 2010 1:43 PM -
JAXB: Exception thrown during Unmarshalling ! HELP !
Hi, my JAXB works fine when the input XML conforms with the schema. But sometimes the input XML contains some extra non-business related fields (populated by the client application) that are absent from my schema definitions and cannot be predicted. In such scenarios JAXB fails during unmarshalling. Is there a way round this ? I have tried Unmarshaller.setValidating( false), but still fails ! Ideally I would want the parser to ignore such fields. Do I need to write a custom EventHandler as means of a way out? Kindly suggest
RajI found the following in JAXB specification 1.0, Section 5.9.5
Bind wildcard schema component:
A wildcard is mapped to a simple content-property with:
● Content-property name set to the constant �any�. A binding schema customization could provide a more semantically meaningful contentproperty name.
● Content-property base type set to java.lang.Object by default. Wildcard content encountering during unmarshalling is supported if global XML element tags occurring in �strict� or �lax� wildcard context
are known to the instance of javax.xml.bind.JAXBContext, meaning that the schema(s) describing the element content occurring in the wildcard context is registered with the JAXBContext instance, see
Section 3.2, �JAXBContext,� on page 24 on how bindings are registered with a JAXBContext instance. A JAXB implementation is only required to be able to marshall and unmarshal global element content to/
from �strict�/�lax� wildcard context that is registered and valid5 according to the schema(s) registered to JAXBContext. The specification does not specify how a JAXB implementation handles element content that it does not know how to map to a Java representation.
● See content-property predicate for a wildcard.
● If the maxOccurs is greater than one, the content property is mapped
to a collection property. The default collection property is a List
property.
● These is no default value.
Does anyone know how to go about setting Content-property name & Content-property base type as the specification suggests ? -
Exception thrown during Federation
I am using SUN Access Manager 2005Q1 on SUN SPARC/Solaris 9 platform. I am trying to deploy the liberty "sample1" program bundled with Access manager, that demonstrates federation between one IDP and one SP. When doing so, federation fails and i get the follwoing exception in the file "/var/opt/SUNWam/debug/amFederation" :
ERROR: FSAccountManager.writeAccountFedInfo(): AMException :
com.iplanet.am.sdk.AMException: Unable to set attribute(s).
at com.iplanet.am.sdk.ldap.DirectoryManager.processInternalException(DirectoryManager.java:425)
at com.iplanet.am.sdk.ldap.DirectoryManager.setAttributes(DirectoryManager.java:2493)
at com.iplanet.am.sdk.AMDirectoryManager.setAttributes(AMDirectoryManager.java:602)
at com.iplanet.am.sdk.AMCacheManager.setAttributes(AMCacheManager.java:862)
at com.iplanet.am.sdk.AMObjectImpl.store(AMObjectImpl.java:1733)
at com.iplanet.am.sdk.AMObjectImpl.store(AMObjectImpl.java:1673)
at com.sun.identity.federation.accountmgmt.FSAccountManager.writeAccountFedInfo(FSAccountManager.java:301)
at com.sun.identity.federation.services.fednsso.FSSSOAndFedHandler.doAccountFederation(FSSSOAndFedHandler.j
ava:1007)
at com.sun.identity.federation.services.fednsso.FSSSOAndFedHandler.processPostAuthnSSO(FSSSOAndFedHandler.j
ava:739)
at com.sun.identity.federation.services.fednsso.FSSSOBrowserArtifactProfileHandler.processAuthnRequest(FSSS
OBrowserArtifactProfileHandler.java:161)
at com.sun.identity.federation.services.fednsso.FSSSOAndFedService.handleAuthnRequest(FSSSOAndFedService.ja
va:546)
at com.sun.identity.federation.services.fednsso.FSSSOAndFedService.handleAuthnRequest(FSSSOAndFedService.ja
va:485)
at com.sun.identity.federation.services.fednsso.FSSSOAndFedService.doGet(FSSSOAndFedService.java:194)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
at com.sun.identity.federation.common.FSUtils.forwardRequest(FSUtils.java:359)
at com.sun.identity.federation.login.FSPostLogin.sendResponse(FSPostLogin.java:287)
at com.sun.identity.federation.login.FSPostLogin.doPostLogin(FSPostLogin.java:241)
at com.sun.identity.federation.login.FSPostLoginHandler.processRequest(FSPostLoginHandler.java:84)
at com.sun.identity.federation.login.FSPostLoginHandler.doGet(FSPostLoginHandler.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.sun.mobile.filter.AMLController.doFilter(AMLController.java:163)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:221)
at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2072)
08/12/2005 07:06:06:994 PM IST: Thread[service-j2ee,5,main]
ERROR: FSSSOAndFedHandler.doAccountFederation: Exception when doing account federation
08/12/2005 07:06:06:994 PM IST: Thread[service-j2ee,5,main]
ERROR: FSSSOAndFedHandler.processPostAuthnSSO: Accountfederation failed
08/12/2005 07:06:06:994 PM IST: Thread[service-j2ee,5,main]
ERROR: FSSSOBrowserArtifactProfileHandler.processAuthnRequest: AuthnRequest Processing failed
Do i need to configure something on the directory server? Or does this error imply something else?
Any pointers in this regard will be highly appreciated!You have not created WebLogic domain correctly . OSM is developed using ADF framework and you need to select "Oracle JRF-11.1.1.0[Oracle_common]" & "Oracle JJRF WEbServices Asynchronous services -11.1.1.0[oracle _common]"while creating the WebLogic domain.
-
Connection allocation problem - exception thrown during allocateConnection().
I am using WebLogic 6.1 sp1. In an multithreaded environment, when there are
8 or more threads, I get the following exception-
javax.ejb.EJBException: Unable to acquire connection: ResourceAdapterExc
eption: allocateConnection could not create new or free any connections
javax.ejb.EJBException: Unable to acquire connection: ResourceAdapterException:
allocateConnection could not create new or free any connections
Is this a connection pooling issue.
Thanks.
Hi,
Its probably due to equals and hashcode methods of
ManagedConnectionFactoryImpl. Check that you have implemented them properly.
May be that helps.
Thanks
Amit
Shiva Hunts <[email protected]> wrote in message
news:3bc4bd75$[email protected]..
>
> I am using WebLogic 6.1 sp1. In an multithreaded environment, when there
are
> 8 or more threads, I get the following exception-
>
> javax.ejb.EJBException: Unable to acquire connection: ResourceAdapterExc
> eption: allocateConnection could not create new or free any connections
> javax.ejb.EJBException: Unable to acquire connection:
ResourceAdapterException:
>
> allocateConnection could not create new or free any connections
>
> Is this a connection pooling issue.
>
> Thanks.
-
EJB5018: An exception was thrown during an ejb invocation on [ResultFacade]
I have a problem to access from application client to methods of session beans
the problem haw to call this method "getcodesresultcampbean("ARTV")"
EJB5018: An exception was thrown during an ejb invocation on [ResultFacade]
javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean: java.lang.NoClassDefFoundError: org/postgresql/jdbc3/Jdbc3PreparedStatement
at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:3591)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3436)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:192)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:71)
at $Proxy306.findByRefCampagne(Unknown Source)
at com.bellconsulting.praxys.stats.service.StatCampagneBean.getcodesresultcampbean(StatCampagneBean.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3847)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:190)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:67)
at $Proxy305.getcodesresultcampbean(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
Caused by: java.lang.NoClassDefFoundError: org/postgresql/jdbc3/Jdbc3PreparedStatement
at org.postgresql.jdbc3.Jdbc3Connection.prepareStatement(Jdbc3Connection.java:37)
at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdbc3Connection.java:266)
at org.postgresql.jdbc2.AbstractJdbc2Connection.prepareStatement(AbstractJdbc2Connection.java:151)
at com.sun.gjc.spi.ConnectionHolder.prepareStatement(ConnectionHolder.java:413)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:497)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:415)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1538)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2211)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
at org.hibernate.loader.Loader.list(Loader.java:2090)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:388)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
at com.bellconsulting.praxys.stats.facades.ResultFacade.findByRefCampagne(ResultFacade.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
**************************code source************** ResultFacade******
package com.bellconsulting.praxys.stats.facades;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import com.bellconsulting.praxys.stats.entities.Result;
* @author idriss
@Stateless
public class ResultFacade implements ResultFacadeLocal {
@PersistenceContext
private EntityManager em;
/** Creates a new instance of ResultFacade */
public ResultFacade() {
public void create(Result result) {
em.persist(result);
public void edit(Result result) {
em.merge(result);
public void destroy(Result result) {
em.merge(result);
em.remove(result);
public Result find(Object pk) {
return (Result) em.find(Result.class, pk);
public List findAll() {
return em.createQuery("select object(o) from Result as o").getResultList();
public List findByRefCampagne (String campaignCode) {
return em.createNamedQuery("Result.findByRefcampagne").setParameter("refcampagne", campaignCode).getResultList();
*****************StatCampagneBean********
package com.bellconsulting.praxys.stats.service;
import com.bellconsulting.praxys.stats.facades.ResultFacadeLocal;
import java.sql.Date;
import javax.ejb.EJB;
import javax.ejb.Stateful;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import com.bellconsulting.praxys.stats.entities.Campaign;
import com.bellconsulting.praxys.stats.entities.Result;
import com.bellconsulting.praxys.stats.facades.CampaignFacadeLocal;
import java.util.Iterator;
import java.util.List;
* @author idriss
@Stateful
public class StatCampagneBean implements StatCampagneRemote {
@EJB
private CampaignFacadeLocal campaignFacade;
private @EJB ResultFacadeLocal resultFacade;
private String _campagnecode;
/** Creates a new instance of StatCampagneBean */
public StatCampagneBean() {
public StatCampagneBean(String campagnecode)
this._campagnecode= campagnecode;
@PersistenceContext
private EntityManager _manager;
public int getnbreOKbean(String codecampagne) {
//TODO implement getnbreOK
Campaign camp= _manager.find(Campaign.class,codecampagne);
return camp.getNbRepPositive();
public void statCodesResultats(String nomcamp, String codecamp, Date datedebut, Date datefin) {
//TODO implement statCodesResultats
public String[ ] getcodesresultcampbean(String codecamp) {
//TODO implement getcodesresultcampbean
// _manager.getTransaction().begin();
/* EntityManagerFactory emf = Persistence.createEntityManagerFactory("Result");
EntityManager em = emf.createEntityManager();
String querystring = "select object(r) from Result r"+" where r.refcampagne = ?1";
Query query =em.createQuery(querystring).setParameter(1,codecamp);
*for (Result r : coderesultList)
coderesult[j++]= r.getResultPK().getCode().toString();
// List<Result> coderesultList = query.getResultList();
List<Result> coderesultList = resultFacade.findByRefCampagne(codecamp);
Iterator<Result> itr = coderesultList.iterator();
String[]codesresult =null;
int j= 0;
while (itr.hasNext()){
codesresult[j++] =itr.next().getResultPK().getCode().toString();
// _manager.getTransaction().commit();
return codesresult;
*********************Application client *************
package application.praxys;
import com.bellconsulting.praxys.stats.service.StatCampagneRemote;
import javax.swing.JOptionPane;
import stats.praxys.*;
* @author idriss
public class Main {
/** Creates a new instance of Main */
public Main() {
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
// InitialContext ctx;
String[] nbreok =null ;
int c =0;
/* try {
ctx = new InitialContext();
StatCampagneRemote simpleSession = (StatCampagneRemote) ctx.lookup(StatCampagneRemote.class.getName());
nbreok = simpleSession.getnbreOK("ARTV");
System.out.println("voici un resultaaaaaaaaaaaaaaaaaaaaa"+" "+nbreok);
} catch (NamingException ex)
TeleVenteServiceLocator tvLocator = new TeleVenteServiceLocator();
StatCampagneRemote statCampagneBean = (StatCampagneRemote)tvLocator.getCampaignService();
JOptionPane.showMessageDialog(null, "dfsdfsdfsfsq");
nbreok=statCampagneBean.getcodesresultcampbean("ARTV");
//nbreok =statCampagneBean.getnbreOKbean("ARTV");
System.out.println("voici un resultaaaaaaaaaaaaaaaaaaaaa "+ nbreok[1]);
JOptionPane.showMessageDialog(null, "dfsdfsdfsfsq"+nbreok[2]);
***************Result entity bean*********
package com.bellconsulting.praxys.stats.entities;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
* Entity class Result
* @author idriss
@Entity
@Table(name = "result")
@NamedQueries( {
@NamedQuery(name = "Result.findByCode", query = "SELECT r FROM Result r WHERE r.resultPK.code = :code"),
@NamedQuery(name = "Result.findByLibelle", query = "SELECT r FROM Result r WHERE r.libelle = :libelle"),
@NamedQuery(name = "Result.findByPriorite", query = "SELECT r FROM Result r WHERE r.priorite = :priorite"),
@NamedQuery(name = "Result.findByPrix", query = "SELECT r FROM Result r WHERE r.prix = :prix"),
@NamedQuery(name = "Result.findByResType", query = "SELECT r FROM Result r WHERE r.resType = :resType"),
@NamedQuery(name = "Result.findByRefcampagne", query = "SELECT r FROM Result r WHERE r.resultPK.refcampagne = :refcampagne"),
@NamedQuery(name = "Result.findByRetValue", query = "SELECT r FROM Result r WHERE r.retValue = :retValue"),
@NamedQuery(name = "Result.findByRetUnit", query = "SELECT r FROM Result r WHERE r.retUnit = :retUnit")
public class Result implements Serializable {
* EmbeddedId primary key field
@EmbeddedId
protected ResultPK resultPK;
@Column(name = "libelle")
private String libelle;
@Column(name = "priorite", nullable = false)
private int priorite;
@Column(name = "prix", nullable = false)
private float prix;
@Column(name = "resType")
private Integer resType;
@Column(name = "retValue")
private Integer retValue;
@Column(name = "retUnit")
private String retUnit;
@JoinColumn(name = "refcampagne", referencedColumnName = "code", insertable = false, updatable = false)
@ManyToOne
private Campaign campaign;
/** Creates a new instance of Result */
public Result() {
* Creates a new instance of Result with the specified values.
* @param resultPK the resultPK of the Result
public Result(ResultPK resultPK) {
this.resultPK = resultPK;
* Creates a new instance of Result with the specified values.
* @param resultPK the resultPK of the Result
* @param priorite the priorite of the Result
* @param prix the prix of the Result
public Result(ResultPK resultPK, int priorite, float prix) {
this.resultPK = resultPK;
this.priorite = priorite;
this.prix = prix;
* Creates a new instance of ResultPK with the specified values.
* @param refcampagne the refcampagne of the ResultPK
* @param code the code of the ResultPK
public Result(String refcampagne, String code) {
this.resultPK = new ResultPK(refcampagne, code);
* Gets the resultPK of this Result.
* @return the resultPK
public ResultPK getResultPK() {
return this.resultPK;
* Sets the resultPK of this Result to the specified value.
* @param resultPK the new resultPK
public void setResultPK(ResultPK resultPK) {
this.resultPK = resultPK;
* Gets the libelle of this Result.
* @return the libelle
public String getLibelle() {
return this.libelle;
* Sets the libelle of this Result to the specified value.
* @param libelle the new libelle
public void setLibelle(String libelle) {
this.libelle = libelle;
* Gets the priorite of this Result.
* @return the priorite
public int getPriorite() {
return this.priorite;
* Sets the priorite of this Result to the specified value.
* @param priorite the new priorite
public void setPriorite(int priorite) {
this.priorite = priorite;
* Gets the prix of this Result.
* @return the prix
public float getPrix() {
return this.prix;
* Sets the prix of this Result to the specified value.
* @param prix the new prix
public void setPrix(float prix) {
this.prix = prix;
* Gets the resType of this Result.
* @return the resType
public Integer getResType() {
return this.resType;
* Sets the resType of this Result to the specified value.
* @param resType the new resType
public void setResType(Integer resType) {
this.resType = resType;
* Gets the retValue of this Result.
* @return the retValue
public Integer getRetValue() {
return this.retValue;
* Sets the retValue of this Result to the specified value.
* @param retValue the new retValue
public void setRetValue(Integer retValue) {
this.retValue = retValue;
* Gets the retUnit of this Result.
* @return the retUnit
public String getRetUnit() {
return this.retUnit;
* Sets the retUnit of this Result to the specified value.
* @param retUnit the new retUnit
public void setRetUnit(String retUnit) {
this.retUnit = retUnit;
* Gets the campaign of this Result.
* @return the campaign
public Campaign getCampaign() {
return this.campaign;
* Sets the campaign of this Result to the specified value.
* @param campaign the new campaign
public void setCampaign(Campaign campaign) {
this.campaign = campaign;
* Returns a hash code value for the object. This implementation computes
* a hash code value based on the id fields in this object.
* @return a hash code value for this object.
@Override
public int hashCode() {
int hash = 0;
hash += (this.resultPK != null ? this.resultPK.hashCode() : 0);
return hash;
* Determines whether another object is equal to this Result. The result is
* <code>true</code> if and only if the argument is not null and is a Result object that
* has the same id field values as this object.
* @param object the reference object with which to compare
* @return <code>true</code> if this object is the same as the argument;
* <code>false</code> otherwise.
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof Result)) {
return false;
Result other = (Result)object;
if (this.resultPK != other.resultPK && (this.resultPK == null || !this.resultPK.equals(other.resultPK))) return false;
return true;
* Returns a string representation of the object. This implementation constructs
* that representation based on the id fields.
* @return a string representation of the object.
@Override
public String toString() {
return "com.bellconsulting.praxys.stats.entities.Result[resultPK=" + resultPK + "]";
Message was edited by:
081283Try posting this on the EJB forum:
http://forum.java.sun.com/forum.jspa?forumID=13 -
During patchset installation I am facing problem in relink stage
Dear Experts.
I am facing this problem during patchset installation.
Oracle Database Version = 10.1.0.4
Patch = 10.1.0.5
OS = Oracle Linux 5 x64 bit
Its seems I am missing some rpm, but I am unable to determine. Please help me.
/bin/chmod 755 /app/oracle/infra/bin/
- Linking trcroute
rm -f trcroute
gcc -o trcroute -L/app/oracle/infra/network/lib/ -L/app/oracle/infra/lib/ -L/app/oracle/infra/lib/stubs/ /app/oracle/infra/network/lib/s0nur.o /app/oracle/infra/network/lib/nur.o -lclntsh `cat /app/oracle/infra/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /app/oracle/infra/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /app/oracle/infra/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /app/oracle/infra/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /app/oracle/infra/lib/sysliblist` -Wl,-rpath,/app/oracle/infra/lib -lm `cat /app/oracle/infra/lib/sysliblist` -ldl -lm -L/app/oracle/infra/lib -L/app/oracle/infra/lib/stubs/
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [trcroute] Error 1
End output from spawned process.
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '/app/oracle/infra/network/lib/ins_net_client.mk'. See '/app/oracle/oraInventory/logs/installActions2011-01-13_12-15-17PM.log' for details.
Exception Severity: 1
*** Cancel Dialog: ***
User Selected: Stop installation of all products.
Error in invoking target 'install' of makefile '/app/oracle/infra/network/lib/ins_net_client.mk'. See '/app/oracle/oraInventory/logs/installActions2011-01-13_12-15-17PM.log' for details.Hi,
Can you please check the log file of this installation:
'u01/app/oracle/oraInventory/logs/installActions2011-01-13_12-15-17PM.log
Verify yourself,If you are still not getting post the message inside this log file.
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
Error in invoking target 'agent nmhs' of makefile - during 11g Installation
Hi guys~
I've just installed 11g (x64) on Fedora 13 (x64)
but during the installation there was an error.
Error in invoking target 'agent nmhs' of makefile
*'/u01/app/.../sysman/lib/ins_emagent.mk'*
This is the log file
[http://lyh913.tistory.com/attachment/[email protected]]
When oracle checked prerequisite packages, there was 8 failed packages such as libaio(i386), libgcc(i386) etc. I installed all of them (i686) with yum, but failed status didn't change. so I ignore them.
And then Error in invoking target 'agent nmhs' of makefile occured
Acturally I was able to excute sqlplus successfully but I'm curious that it is okay with this error.
I think there gonna be a problem sooner or later.
Is there anybody who can help me out? Please~ :-)
Anyway thanks for reading and sorry for my poor English(English isn't my mother tongue)Satish Kandi wrote:
The pre-requisite check has to succeed for the setup to complete successfully (with exceptions).
Have you tried installing the packages without yum?Thank you Satish Kandi~
I tried to download rpm packages and install them after your reply.
But Fedora said that they are already installed.
Failed prerequisite packages were
libaio-0.3.105, compat-libstdc++-33-3.2.3, libaio-devel-0.3.105, libgcc-3.4.6
libstdc++-3.46, unixODBC-2.2.11, unixODBC-devel-2.2.11, pdksh-5.2.14
And I've got these packages.
[root@localhost ~]# rpm -qa | grep i686
nss-softokn-freebl-3.12.4-17.fc13.i686
libtool-ltdl-2.2.6-20.fc13.i686
numactl-devel-2.0.3-8.fc13.i686
libgcc-4.4.4-2.fc13.i686
ksh-20100309-3.fc13.i686
compat-libstdc++-33-3.2.3-68.i686
readline-6.1-2.fc13.i686
libaio-devel-0.3.109-2.fc13.i686
libstdc++-4.4.4-2.fc13.i686
unixODBC-2.2.14-11.fc13.i686
numactl-2.0.3-8.fc13.i686
libaio-0.3.109-2.fc13.i686
unixODBC-devel-2.2.14-11.fc13.i686
glibc-2.12-1.i686
ncurses-libs-5.7-7.20100130.fc13.i686
At first 'glibc(it requires i686)' was failed status but after I installed glibc-2.12-1.i686, it became succeed.
The other packages require i386. Does this mean I should install i386 packages?
Edited by: user10406944 on 2010. 6. 1 오전 3:52
Edited by: user10406944 on 2010. 6. 1 오전 3:52 -
BEA 8.1 Team,
Is there any limitation on BEA Repository such as number of nodes, etc.
I have a serious production issue. All i could see from the LOG file is the stact trace which i have posted it here.
####<Aug 24, 2006 8:04:57 AM CDT> <Info> <EJB> <websrv11> <PORTALSRVR> <ExecuteThread: '99' for queue: 'weblogic.kernel.Default'> <jdcs1400> <BEA1-60BE09B7462F> <BEA-010051> <EJB Exception occurred during invocation from home: [email protected]67bc75 threw exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1438)
at java.lang.String.substring(String.java:1411)
at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
at com.bea.content.manager.internal.NodeOpsBean.getNode(NodeOpsBean.java:680)
at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:111)
at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
####<Aug 24, 2006 8:04:57 AM CDT> <Error> <HTTP> <websrv11> <PORTALSRVR> <ExecuteThread: '99' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=30691960,name=myServicePoint,context-path=/myServicePoint)] Servlet failed with Exception
javax.ejb.EJBException: EJB Exception: : java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1438)
at java.lang.String.substring(String.java:1411)
at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
at com.bea.content.manager.internal.NodeOpsBean.getNode(NodeOpsBean.java:680)
at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:111)
at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
; nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1438)
at java.lang.String.substring(String.java:1411)
at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
at com.bea.content.manager.internal.NodeOpsBean.getNode(NodeOpsBean.java:680)
at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:111)
at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
javax.ejb.EJBException: EJB Exception: : java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1438)
at java.lang.String.substring(String.java:1411)
at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
at com.bea.content.manager.internal.NodeOpsBean.getNode(NodeOpsBean.java:680)
at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:111)
at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
; nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at weblogic.ejb20.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:152)
at weblogic.ejb20.internal.BaseEJBLocalHome.handleSystemException(BaseEJBLocalHome.java:232)
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java:326)
at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:122)
at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
Any help would be greatly appreciated!!
Thanks in Advance,
-Nach.Hi Dragan,
First of all we need to put some debug (System.out.println) to findout exactly which object reference is actually becoming NULL. From there only we can start diagnosis on this issue. that's the root. It should be very easy for your Developers to put some debug on that...because the NullPointerException is being thrown by your code...I m not Blaming on your Code... WLS may be responsible for that...but first of all we need to find out Which Object is becoming NULL.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
Exceptions thrown in Thread Constructors
Hi,
Im having a problem with exceptions been thrown during thread constructors... mainly that when it happens, the JVM still seems to track the dud thread as an active thread (See example code below).
As you can see, the thread throws an exception during creation, and hence never gets created as such (mt stays null). Yet Thread.activeCount() reports that its still hanging around somewhere, yet it cant be referenced. Unfortunately this is resulting in me getting a rather large buildup of these duds, as its part of a "retry" phase in my software.
Any thoughts/comments/suggestions?
Thanks,
Roger.
import java.net.Socket;
public class myMain
public myMain()
myThread mt=null;
while (true) try
System.out.println(Thread.activeCount());
Thread.sleep(100);
mt = new myThread();
catch (Exception ex)
System.out.println(mt);
System.err.println(ex);
public static void main (String[] args)
new myMain();
public class myThread extends Thread
public myThread() throws Exception
throw new Exception();
}It's not hard to obtain this reference (for instance we can catch exception in the constructor and do something before rethrowing it) - but what can we do with this reference? There's no way to destroy the thread object save starting it. But this is really ugly (but works):
public class NewThreadException {
public static class myThread extends Thread {
protected boolean stillborn;
public myThread() throws Exception
super(new ThreadGroup("My Group"), "My Thread");
try {
throw new Exception();
} catch (Exception e) {
stillborn=true;
start();
throw e;
public void run() {
if (stillborn) return;
public static void main(String[] args) {
myThread mt=null;
while (true) try
System.out.println(Thread.activeCount());
Thread.sleep(100);
mt = new myThread();
catch (Exception ex)
System.out.println(mt);
System.err.println(ex);
}BTW there's already one private stillborn in Thread class itself. -
Error 1935. An error occurred during the installation of assembly...
I utilizing VS.Net and I'm deploying a project to my client machines. The XP client machines execute the code just fine but I get two general errors when I try to run the app on a Vista Business machine.
1) Crystal Reports Basic Runtime for Visual Studio 2008
Error 1935. An error occurred during the installation of assembly.
'Microsoft.VC90.ATL.version="9.0.21009.1.publicKey="1fc8b9a1e18e3b:.processorArchitecture="x86".type="win32'"
Please refer to Help and Support for more information.
2) The other error happens when I actually run the app and its in InnerException error.
Things that I found on the web discuss adding merge modules to VS but I can't find where to reference that info. Are there any other ideas out there.
Thanks-
JLNHello,
Good Day!
I'm having a nasty problem that remains unresolved for the last four weeks now - I'm trying to install CR2008 on a brand new Dell laptop /w 64-bit OS Windows 7 with a T4300 dual core processor (2.1Gz). As far as I can see SP1 or SP2 are not installed. However, I see MS WSE 2.0 SP3 Runtime installed.
During installation of CR 2008 the error message as follows shows up -
Error 1935: An error occured during the installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}
HRESULT: 0X80070002
As a result of this error the installation terminates and the rollback begins (I assume it completely removes the components that it attempted to install so far.
The laptop has the following significant software applications -
Microsoft SQL server 2005, SQL server Native Client, MS VisualBasic 2005 & 2008, C++, MS Visual Studio 2005 Remote Debugger & Windows SDK for Visual Studio 2008 - just in case there are any known conflicts or problems.
Are there any 'leads' I can follow to successfully conclude this installation.
Thanks for your time.
TGupta -
When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
ERROR
Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
STEPS
The issue can be reproduced at will with the following steps:
1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
2) Created dnd.param file in SIebel server SDQCOnnector folder.
3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
6) Configured the Siebel components for EDQ integration.
7) Realtime EDQ jobs are running.
8) Create a new Account
Env details are
On : 8.2.2.14 [IP2014] version, Client Functionality
EDQ 11.1.1.7.4
IBM JDK 1.7 32 bit
Using Open UI
Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
Regards
Monoj Dey
9007554589Hi Monoj,
A few questions:
- What OS is Siebel running on?
- What version of the Siebel connector are you using?
- Which libdnd.so file are you using?
- What's the contents of your dnd.parms file?
thanks,
Nick
Maybe you are looking for
-
How to customize error mess, when an Web Dynpro application Deployed
Hi Frndz... When we r deploying any web dynpro application , if there was any error in that WDP application its showing an error page the list of errors with HOST name n patch level n OS details n so many n with the line number of that error in the
-
Hi all, Now that I have the new iphone 32G and like to protect it, what cases would people recommend? Real protection from dropping. I've seen some that doubles as a extra battery,etc. Also, for obvious reasons, it's probably going to be impossible f
-
Nokia E63 - Typing letters on the home/standby scr...
Hi I have a nokia E 63 phone. Earlier, typing a few letters on the home/standby screen would bring up a list of contact names maching the keys pressed. However, suddenly, this has stopped happening now - on tying a few letters, the letters appear on
-
Reading text files without specifying the encoding?
I have looked everywhere for a solution, but I can't find one. The problem is that I'm using codes that everybody is using, but for some reason, my codes aren't working. I want to be able to open up text files in Java without having to specify the en
-
Spry:if inside a tr element
Hello, I would like to add a "selected" class to a html table row element if the curRowID == {dsRowID} so I tried the following <tr spry:if="searchBar.searchResults.listDataSet.curRowID == {ds_RowID}" class="selected" spry:select="selected" spry:repe