JNDI look up failure from JUnitEE for Sunone AppServer 8

Hi, Dear All:
I am trying to set up a test framework for developing J2EE application, I successfully deployed the EJB components, see the sun-ejb-jar.xml below:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 8.0 EJB 2.1//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_1-0.dtd">
<sun-ejb-jar>
<enterprise-beans>
<unique-id>0</unique-id>
<ejb>
<ejb-name>CounterEJB</ejb-name>
<jndi-name>ejb/Counter</jndi-name>
<pass-by-reference>false</pass-by-reference>
<cmp>
<is-one-one-cmp>false</is-one-one-cmp>
</cmp>
<ior-security-config>
<transport-config>
<integrity>SUPPORTED</integrity>
<confidentiality>SUPPORTED</confidentiality>
<establish-trust-in-target>SUPPORTED</establish-trust-in-target>
<establish-trust-in-client>SUPPORTED</establish-trust-in-client>
</transport-config>
<as-context>
<auth-method>USERNAME_PASSWORD</auth-method>
<realm>default</realm>
<required>true</required>
</as-context>
<sas-context>
<caller-propagation>SUPPORTED</caller-propagation>
</sas-context>
</ior-security-config>
<is-read-only-bean>false</is-read-only-bean>
<gen-classes/>
</ejb>
<ejb>
<ejb-name>UniqueIdGeneratorEJB</ejb-name>
<jndi-name>ejb/UniqueIdGenerator</jndi-name>
<pass-by-reference>false</pass-by-reference>
<ior-security-config>
<transport-config>
<integrity>SUPPORTED</integrity>
<confidentiality>SUPPORTED</confidentiality>
<establish-trust-in-target>SUPPORTED</establish-trust-in-target>
<establish-trust-in-client>SUPPORTED</establish-trust-in-client>
</transport-config>
<as-context>
<auth-method>USERNAME_PASSWORD</auth-method>
<realm>default</realm>
<required>true</required>
</as-context>
<sas-context>
<caller-propagation>SUPPORTED</caller-propagation>
</sas-context>
</ior-security-config>
<is-read-only-bean>false</is-read-only-bean>
<gen-classes/>
</ejb>
<cmp-resource>
<jndi-name>jdo/pickdirector</jndi-name>
<default-resource-principal>
<name>rp3data</name>
<password>rp3data</password>
</default-resource-principal>
<create-tables-at-deploy>false</create-tables-at-deploy>
<drop-tables-at-undeploy>false</drop-tables-at-undeploy>
<database-vendor-name>mssql</database-vendor-name>
</cmp-resource>
</enterprise-beans>
</sun-ejb-jar>
and also I made up a deployable war with developed JUnitEE testcase, the code below is a simple example:
public class UniqueIdGeneratorEJBTest extends TestCase
//private UniqueIdGeneratorEJBRemote uidBean;
private UniqueIdGeneratorLocal uidBean;
public UniqueIdGeneratorEJBTest()
super();
// TODO Auto-generated constructor stub
* @param arg0
public UniqueIdGeneratorEJBTest(String arg0)
super(arg0);
// TODO Auto-generated constructor stub
protected void setUp() throws Exception
Context jndiContext = new InitialContext();
ServiceLocator sl = ServiceLocator.getInstance();
(JNDINames.UID_EJBHOME);
UniqueIdGeneratorLocalHome uidHome = (UniqueIdGeneratorLocalHome)sl.getLocalHome("java:comp/env/ejb/UniqueIdGenerator");
this.uidBean = uidHome.create();
protected void tearDown() throws Exception
this.uidBean = null;
public void testSimpleIntId() throws RemoteException
int currentId = uidBean.getUniqueIntId("WORKASSN");
int nextId = uidBean.getUniqueIntId("WORKASSN");
assertEquals(nextId, currentId + 1);
assertTrue("NextId should be currentId plus 1.", nextId == currentId + 1);
then I created deployable war file with the testcase, and deployed it onto SunOne Server, But I got error :
javax.naming.NameNotFoundException: No object bound to name java:comp/env/ejb/UniqueIdGenerator
I have been try to fix this problem for days, could anybody help, what I have done wrong?

Could you please give an example (full code). I'm having the same problem.
I can connect remotely from any client console application but as soon as I try to access a remote EJB via a servlet under Sun AppServer 8 I get the following error:
java.lang.NullPointerException at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.sentFullMessage(CorbaMessageMediatorImpl.java:394) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.sendCancelRequestIfFinalFragmentNotSent(CorbaMessageMediatorImpl.java:359) at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.endRequest(CorbaClientRequestDispatcherImpl.java:851) at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.releaseReply(CorbaClientDelegateImpl.java:140) at com.sun.corba.ee.impl.resolver.BootstrapResolverImpl.resolve(BootstrapResolverImpl.java:115) at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22) at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22) at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22) at com.sun.corba.ee.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.java:1112) at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:340) at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:289) at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:245) at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:209) at com.sun.jndi.cosnaming.CNCtx.(CNCtx.java:69) at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:32) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.(InitialContext.java:195) at Test.TestServlet.processRequest(TestServlet.java:57) at Test.TestServlet.doGet(TestServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:748) at javax.servlet.http.HttpServlet.service(HttpServlet.java:861) 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:324) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:500) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107) at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107) at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:272) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107) at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109) at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647) at java.lang.Thread.run(Thread.java:534)
I have configured my InitialContext properties like so:
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
props.put(Context.PROVIDER_URL, "iiop://slavezero:3700");
InitialContext ic = new InitialContext(props);
As far as I can see there is no reason for this to be handing back a NullPointerException.
Please, please HELP!!!!!!!

Similar Messages

  • Do JNDI look up for entity beans from a session bean  in different  jars

    I have a problem doing entity beans JNDI look up from a session bean which is deployed
    as a separate package (session.jar) from the entity beans (entity.jar)
    I believe if both session bean and entity beans are deployed into one jar and
    I specify ejb-local-reference-description for session bean, it should work. However,
    due to some reason, they have to be in separated packages but still in the same
    container. Then question how to do JNDI lookup given entity beans only have local
    interfaces?
    FYI.
    1 both session.jar and entity.jar are self-contained. i.e., no deployment error.
    each JNDI name can be viewed from JNDI tree
    2. weblogic-ejb-jar.xml for session.jar
    <weblogic-ejb-jar>
    <description><![CDATA[Generated by XDoclet]]></description>
    <weblogic-enterprise-bean>
    <ejb-name>PetstoreLogic</ejb-name>
    <stateless-session-descriptor>
    </stateless-session-descriptor>
    <reference-descriptor>
    </reference-descriptor>
    <jndi-name>PetstoreLogic</jndi-name>
    <local-jndi-name>PetstoreLogicLocal</local-jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    3. weblogic-ejb-jar.xml (code snip) for entity.jar
    <weblogic-enterprise-bean>
    <ejb-name>Account</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-type>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-type>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    </reference-descriptor>
    <local-jndi-name>net.sourceforge.cpetstore/AccountLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    4. if I do
    accountLocalHome = (AccountLocalHome) ic.lookup("net/sourceforge/cpetstore/AccountLocalHome");
    get error like:
    javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException:
    While trying to look up /app/ejb/net.sourceforge.cpetstore-entity.jar#Account/local-home
    in /app/ejb/cpetstore-ejb.jar#PetstoreLogic.; remaining name '/app/ejb/net/sourceforge/cpetstore-entity/jar#Account/local-home'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:869)
         at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:150)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)

    In weblogic-ejb-jar.xml use jndi-name instead of local-jndi-name in reference-descriptor
    element.
    "Qiming He" <[email protected]> wrote:
    >
    I have a problem doing entity beans JNDI look up from a session bean
    which is deployed
    as a separate package (session.jar) from the entity beans (entity.jar)
    I believe if both session bean and entity beans are deployed into one
    jar and
    I specify ejb-local-reference-description for session bean, it should
    work. However,
    due to some reason, they have to be in separated packages but still in
    the same
    container. Then question how to do JNDI lookup given entity beans only
    have local
    interfaces?
    FYI.
    1 both session.jar and entity.jar are self-contained. i.e., no deployment
    error.
    each JNDI name can be viewed from JNDI tree
    2. weblogic-ejb-jar.xml for session.jar
    <weblogic-ejb-jar>
    <description><![CDATA[Generated by XDoclet]]></description>
    <weblogic-enterprise-bean>
    <ejb-name>PetstoreLogic</ejb-name>
    <stateless-session-descriptor>
    </stateless-session-descriptor>
    <reference-descriptor>
    </reference-descriptor>
    <jndi-name>PetstoreLogic</jndi-name>
    <local-jndi-name>PetstoreLogicLocal</local-jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    3. weblogic-ejb-jar.xml (code snip) for entity.jar
    <weblogic-enterprise-bean>
    <ejb-name>Account</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-type>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-type>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    </reference-descriptor>
    <local-jndi-name>net.sourceforge.cpetstore/AccountLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    4. if I do
    accountLocalHome = (AccountLocalHome) ic.lookup("net/sourceforge/cpetstore/AccountLocalHome");
    get error like:
    javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException:
    While trying to look up /app/ejb/net.sourceforge.cpetstore-entity.jar#Account/local-home
    in /app/ejb/cpetstore-ejb.jar#PetstoreLogic.; remaining name '/app/ejb/net/sourceforge/cpetstore-entity/jar#Account/local-home'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:869)
         at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:150)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)

  • How to use JNDI look up from a JSP

    Hello,
    I know I should not be doing this (writing the lookup code in a JSP) but have to do it for some reasons.
    I am using this code in my JSP:
    try
         Context ctx = new InitialContext();
         dataSource = (DataSource)ctx.lookup("jdbc/mybillingora");
         conn = dataSource.getConnection();
         statement = conn.createStatement();
    catch(Exception excep)
    Is this code enough for a JNDI look up?? When I use this code, I get an exception:
    "javax.naming.NameNotFound exception:jdbc/mybillingora"
    Do I need to do something else??
    Why do we use :
    Properties env = new Properties();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "<some_context_factory>");
    env.put(Context.PROVIDER_URL, PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, JNDI_USER);
    env.put(Context.SECURITY_CREDENTIALS, JNDI_PWD);
    InitialContext = new InitialDirContext(env);
    where JNDI_USER is the userid If ACL is configured at the JNDI server
    where JNDI_PWD is the password If ACL is configured at the JNDI server
    Context.INITIAL_CONTEXT_FACTORY is the initial Context factory and depends on ur JNDI service provider.
    PROVIDER_URL is the url of the JNDI server containing protocol/ip/port
    do i need to use this??
    would appreciate your help on this....
    Thanks

    I am working on a pretty similar problem and posted my problem minute ago.
    Include JNDI.jar from <Oracle_HOME>\jlib. (This is what I found in Oracle docs).
    I presume you are also trying to create the Datasource using Datasource interface via JNDI rather than using Driver Manager.
    Thanks
    Mei

  • Why does my RAW image look grainy when I export it in to Photoshop CC from Lightroom for editing?

    Why does my RAW image look grainy when I export it in to Photoshop CC from Lightroom for editing?
    Checked LR's setting for Ps export and they haven't changed since it was OK a few days ago? It is OK if you zoom in but in 'fit page' it looks terrible!

    I have exactly the same problem and it has got worse today as the photos also now open in smaller windows for some reason

  • Hello Dear Adobe, I just mistakenly subscribed Adobe ExportPdf annual plan, I am requesting refund please. Sorry for any inconvenience that I made. I am looking immediate respond from you.

    Hello Dear Adobe, I just mistakenly subscribed Adobe ExportPdf annual plan, I am requesting refund please. Sorry for any inconvenience that I made. I am looking immediate respond from you.

    Hi samirb24627542,
    You haven't caused us any inconvenience, and I would be happy to help you get that straightened out. I see that you just signed up today, so I won't be able to process a refund until tomorrow. I'll make a note of your account, and make sure to take care of that for you tomorrow.
    Best,
    Sara

  • I have an iPhone 4S I've been useing a sever for awhile now. Downloaded new iOS now I'm getting 403 forbidden when trying to look up anything from the server. Regular 3G works. How can I fix so I can use the server?

    I have an iPhone 4S I've been useing a sever for awhile now. Downloaded new iOS now I'm getting 403 forbidden when trying to look up anything from the server. Regular 3G works. How can I fix so I can use the server?

    Update: An Apple rep called me today to update the status of my return. I was told that the replacements for the BLACK iPad 2's was still another 3 weeks out (at least) so they offered me a brand new WHITE 16GB iPad 2. I could have that or continue waiting. I opted to go ahead and accept the offer of a new white one. Worst case scenario if I don't like the white one I have buddy that just bought a 16GB black one that he would be willing to swap it.

  • No data in Application failure Analysis report for a particular application alone.

    Dear All, 
    We are not able to get the data in Application Failure Analysis report from Appadvisor for a particular application(say ABC) alone, whereas it works fine for different application. Also,we could get the data from other reports(such
    as Application status,Problem distribution analysis,etc) for the same application(ABC). PFB snapshot for your reference.
    Thanks in Advance.
    Regards,
    Rajesh Kumar C

    Hi,
    Is there any error message when you run Application Failure Analysis report for the specific application?
    Does this application have any failure alerts?
    You may also look into operation manager even logs to check is there any errors or warnings.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Assertion failure from ccfe in Solaris Studio 12.4 beta July refresh

    I have found a way to get an assertion failure from the ccfe program that comes with the Solaris Studio 12.4 beta July refresh.  The error that gets printed is:
    >> Assertion:   (../lnk/funcsym.cc, line 1679)
        while processing text_woarchive.pre.cpp at line 0.
    The problem occurs whilst compiling Boost 1.54.  The original file in the distribution that causes it is libs/serialization/src/text_woarchive.cpp.
    This problem can be reproduced by getting the pre-processed code I've put on http://pastebin.com/E9vxi2z7 and pasting it into a file called text_woarchive.pre.cpp.  Then run:
    CC -std=c++11 -mt -m64 -c -o text_woarchive.o text_woarchive.pre.cpp
    and you get the assertion failure.
    Running:
    CC '-#' -std=c++11 -mt -m64 -c -o text_woarchive.o text_woarchive.pre.cpp
    shows that the assertion is coming from ccfe.
    In case you go back to the original Boost source code I should tell you that prior to generating the pre-processed source I changed:
    #ifdef __SUNPRO_CC
    to:
    #if 0
    in boost/archive/detail/register_archive.hpp.  I did this because there was an error in the __SUNPRO_CC section and I wondered if that workaround code was no longer required with the more modern C++ compiler.  Therefore, I cannot guarantee that the pre-processed source is 100% valid C++ code.  However, even if it's not it would be nice to get a clear error message out of ccfe rather than an assertion failure.
    In case it's relevant, I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86.

    You mentioned in the other answer that you are testing with Boost 1.55.  Are you testing this in C++11 mode?
    Today I downloaded Boost 1.55 and did the following:
    In both tools/build/v2/engine/build.sh and tools/build/v2/tools/sun.jam globally replace SUNWspro with SolarisStudio12.4-beta_jul14-solaris-x86
    In tools/build/v2/tools/sun.jam replace:
    feature.extend stdlib : sun-stlport ;
    feature.compose <stdlib>sun-stlport
        : <cxxflags>-library=stlport4 <linkflags>-library=stlport4
    with:
    feature.extend stdlib : sun-stlport ;
    feature.compose <stdlib>sun-stlport
        : <cxxflags>-std=c++11 <linkflags>-std=c++11
    Note: This is just the quick way I found to con the Boost build system into using C++11 instead of STLport.  The feature in the jam file still has stlport in its name, but that's only a name and the code is being built in C++11 mode.
    In boost/math/special_functions/detail/lanczos_sse2.hpp change line 15 from:
    #if defined(__GNUC__) || defined(__PGI)
    to:
    #if defined(__GNUC__) || defined(__PGI) || defined(__SUNPRO_CC)
    Run:
    ./bootstrap.sh --without-libraries=context --without-libraries=coroutine --without-libraries=graph_parallel --without-libraries=log --without-libraries=mpi --without-libraries=python --without-libraries=test --without-icu
    Run:
    ./b2 -j4 --layout=versioned --disable-icu address-model=64 threading=multi optimization=speed inlining=full
    At this point the vast majority of the code builds, but does not link.
    There are 3 problems:
    The compilation problem with tuple that you've already fixed
    A linker problem with finding std::string related symbols - maybe also related to the gcc header upgrade and now fixed?
    Numerous compilation problems caused by boost/archive/detail/register_archive.hpp
    For this last one the code in the #ifdef __SUNPRO_CC section of boost/archive/detail/register_archive.hpp does appear to be invalid, and leads to the errors:
    "./boost/archive/detail/register_archive.hpp", line 45: Error: The function "adjust_counter" must have a prototype.
    "./boost/archive/detail/register_archive.hpp", line 46: Error: Expression must have a constant value.
    "./boost/archive/detail/register_archive.hpp", line 47: Error: Expression must have a constant value.
    "./boost/archive/detail/register_archive.hpp", line 48: Error: An integer constant expression is required within the array subscript operator.
    Even with Boost 1.55, attempts to fix this lead to the same ccfe assertion.  Trying to use the #else part of the code as I described in the original post does, as does moving the line:
    char adjust_counter(counter<0>);
    so that it comes before the place where adjust_counter is used also then leads to the same assertion:
    >> Assertion:   (../lnk/funcsym.cc, line 1679)
    It's as though any change to boost/archive/detail/register_archive.hpp that fixes the basic code ordering issue lets ccfe get far enough to cause the assertion.
    If there is somebody in your team looking at whether Boost 1.55 compiles with Solaris Studio 12.4 in C++11 mode then hopefully they can relate to what I'm seeing here.  One key point is that they'll have had to edit the jam files to use C++11 mode.
    The other thing is that any insights the person who has been trying to build Boost 1.55 has would be very useful.  I know you don't want to get into officially supporting it, but maybe a blog post with any unofficial hints and tips on getting Boost to build in C++11 mode could be a way to share knowledge.

  • I am getting RPD0018 Error from IDS for few portal requests

    Hi,
    We are getting RPD0018 error from IDS for few portal requests. I thought this error was generating when the IDS max wait time sets 30 seconds for gendata to respond back. I have changed this IDS Wait time to 180 Seconds, but still i am getting the same error. I was not able to figure out the cause. Can some one help me out?
    Thanks

    Hi,
    This error is likely being thrown by GenData due to some failure in the generation, not by the max wait time. According to the documentation:
    "Category: Error: Bridge Configuration
    Gendata failure in //ROWSET[@NAME="RPD0018"]//VAR[@NAME="LOCATION"].
    Cause: Gendata failed.
    Remedy: Fix Gendata errors and try again.
    You should look at the transactions that are failing and debug the forms/sections being generated.
    -DA

  • Resource Pool Heartbeat Failure from All Management Server Resource Pool Watcher

    
    Hi,
    In my environment, I add another SCOM 2012 R2 to existing management group. (old SCOM is 2012 R2 ->SCOM1)
    We have one SMS provider in SCOM1, after added SCOM2 in the Event Viewer we have Event ID
    21400. I googled and in the Administration tab for Notification Pool and AD Assignment Pool change the member ship form Automatic to Manual and remove SCOM2 from those, finally Error 21400 is resolved. But every hours in the active alerts shows
    Resource Pool Heartbeat Failure from All Management Server Resource Pool Watcher.
    Another problem is :
    in the active alerts select a critical or warning or information in the Alert Details shows in just SCOM2:
    This Page can’t be displayed
    Make sure the web address is correct.
    Look for the page with your search engine.
    Refresh the page in a few minutes.
    thanks 

    Hi,
    Based on my research, when management
    server running windows server 2008 operating system, we may experience Random
    Resource Pool
    Heartbeat Failures.
    Did you add a new management server with windows
    server 2012 O.S?
    Please also try to restart operation manager services related and check the result.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • My itunes files were deleted. I was able to use an old back up file to restore some but new downloaded purchases from iTunes for the past 5 months weren't in the back up. How do I get those back since I've paid for them one before and use the same account

    My itunes files were deleted. I was able to use an old back up file to restore some but new downloaded purchases from iTunes for the past 5 months weren't in the back up. How do I get those back since I've paid for them one before? Can you redownload? If so, how?? Please help as I'm missing over 500 previously paid for and downloaded iTunes song purchases.

    This was EXACTLY what I needed about the purchases I made from my device. However, is there a way to re-download other ones you've made from a computer? Because I realized some of them were not just purchased from my device.
    This is a picture of what it looks like now:
    http://tinypic.com/r/107quxu/7
    As you can see, the stuff circled in red doesn't give me an option to download from Cloud Beta because it already says "downloaded".
    any way to get around that?

  • AFPPRN received a return code of failure from the OSD routine FDUPRN

    Hi all,
    Operting system : Solaris 9
    Oracle application: 11.5.10
    i would like to ask query related to buffer area of pinter on solaris server.
    we are trying to print cheques using oracle application on network printer.
    some times it is printing the cheques with out any problem but sometimes it throws and error message in concurrent request log file.
    ****************** L O G F I L E C O N T E N T S ***************
    Printing output file.
    Request ID : 849798
    Number of copies : 1
    Printer : radch1
    Pasta: Error: Error reading input file for type checking.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. An error occurred while AOL tried to spawn the print process
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. An error occurred while AOL tried to spawn the print process.
    Action: Review your concurrent request log file for more detailed information.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 20-AUG-2009 11:49:18
    ****************** L O G F I L E C O N T E N T S ***************
    my question is
    1) Do we need to delete any temporary files from server related to printer.
    Regards

    Hi,
    What is the status of those concurrent requests (Completed with Warning or with Error)?
    1) Do we need to delete any temporary files from server related to printer.Usually, you do not need to delete any files manually, temp files will be created by the application, and there should no issues with the files permissions (unless you have some other instance running on the same node with different applmgr user). However, you can safely clean (.t and .tmp) files as per the following documents.
    Note: 435437.1 - Most Common Solutions to FRM-41839 and .tmp Files Not Being Deleted
    Note: 145487.1 - Files Types .t and .temp and .tmp, are Saving Under /var/tmp
    Note: 162232.1 - Why Does Oracle Forms Create .TMP Files Which Fill Up The Filesystem e.g. /tmp ?
    I would also suggest you search Metalink for APP-FND-00500 and you will get many hits, go through the documents and see if it helps.
    Regards,
    Hussein

  • APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN

    Hi All,
    i have configured a printer in R12.1.3, when i am trying to print its giving below error...
    please help..
    lp: The printer or class was not found.
    Pasta: Error: Print failed. Command=lp -c -dHP_P4014N /apps/local/inst/apps/UAT_server/appltmp/pasta9331_0.tmp
    Pasta: Error: Check printCommand/ntPrintCommand in pasta.cfg
    Pasta: Error: Preprocess or Print command failed!!!
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.
    Action: Review your concurrent request log file for more detailed information.
    Thanks
    RB

    And found this Exception also... in the diagnostic output.
    EXCEPTION - One or more versions were missing. caught in 'FNDPastaDiag.retrieveSupportFiles'
    java.lang.IllegalArgumentException: One or more versions were missing.
    at oracle.apps.jtf.regress.qatool.base.TextUtility.compareVersions(TextUtility.java:650)
    at oracle.apps.fnd.diagnose.FNDPastaDiag.retrieveSupportFiles(FNDPastaDiag.java:1486)
    at oracle.apps.fnd.diagnose.FNDPastaDiag.runSupportTest(FNDPastaDiag.java:556)
    at oracle.apps.jtf.regress.qatool.base.DiagBase.runTest(DiagBase.java:373)
    at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.runTest(LegacyJavaTestExecution.java:147)
    at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.execute(LegacyJavaTestExecution.java:83)
    at oracle.apps.fnd.oam.diagnostics.exec.WorkerThread.run(WorkerThread.java:49)
    at java.lang.Thread.run(Thread.java:619)
    ACTION - Please log an iTAR (Service Request) for product "Support Diagnostics Project" (ID=1332) to notify support about this issue
    Thx
    RB

  • Looking at moving from G5 to MacPro

    I've never used OS 10.4 but I'm looking at going from G5 OS 10.39 to a MacPro 10.48. Is this a simple transition? Can I use my software on the MacPro? (IE: Adobe suite CS2, Quark, Office, fonts)

    Yes it's an easy transition. Tiger is much better!
    The Mac Pro is an Intel based Mac, the applications that run on your PowerMac are PowerPC based. In order for these applications to run natively on the Mac Pro, they need to be recompiled as an Intel based. Then the binaries can understand.
    You can still run it under an application called Rosetta, but it will run very slow. Rosetta reads the binaries and converts them on the fly to Intel so that the Intel processor can read the apps and process them.
    Photoshop isn't avaliable as a native application. I run it on my Intel based MacBook and the performance rates are great. I can't tell much from my G5 to my MacBook. And it's under Rosetta!
    The Mac Pro is a great product and you'll like it.
    There is plenty of discussions about this topic, search it in your search field.
    Remember to mark as helpful or solved.
    -benny

  • Migration from Eudora for Windows to Eudora for Mac

    Has anybody within the sound of my keystokes ever migrated Eudora from the PC to Mac?
    I have to use Eudora for my work, and while I know I can run it in my Parallels XP Window, I really want to run as little software in Windows as possible so I'm trying to get Eudora to run in OSX. I downloaded the software and it works fine but I have not been able to import my many e-mailboxes from the Windows installation to the Mac.
    The problem actually looks very much like the result I got when I tried to import Eudora folders and mailboxes into Apple Mail: the folders showed up, but none of the messages.
    With the Eudora/Win to the Eudora/Mac import, none of the mailboxes or individual messages showed up.
    Maybe somebody who's reading this has some idea what a simple fix might entail. I'm impressed with how quickly responses show up here, so I've got my fingers crossed.
    Thanks,
    --PS

    OK, here's a variation on the same idea.
    Inside the My Email folder on the PC, are there individual mailbox files, and are they where the actual content of your past email is stored? To check on the latter question, duplicate one of those files on the PC (so you won't have to work with the original file) and open the copy in a text editor such as WordPad. Does the content of the messages in the mailbox appear?
    If not, then Eudora for Windoze apparently keeps its mailbox files quite differently from Eudora for Mac, and I don't know what to suggest or where on your PC you might look for the message content. If this proves to be the case, I guess I'd have to suggest that using Eudora for Windoze in Parallels may be the best way to go.
    If the content is there in the mailbox file, Quit WordPad without changing the file at all. Try copying that mailbox file (not the whole enclosing folder) over to the Mac and putting it into Eudora's Mail Folder. (Make sure first that it doesn't have the same filename as any of your existing Eudora Mac mailboxes.) Then open Eudora and see whether that mailbox appears in the mailbox list, and whether the messages in it can be displayed.
    If that doesn't work either, you may want to compare the structure of the Windoze-based mailbox file with the structure of Eudora for Mac's mailbox files, and see whether there's some relatively simple modification(s) you could make to your Windoze files so they'd conform to Eudora Mac's expectations of a proper mailbox file. I would open both files in separate windows, side by side, in a text processor such as TextWrangler (free, fast and enormously powerful, with terrific Find/Replace capabilities), and see what it would take to put the Windoze file into the same form as the Mac file. The comparison with be greatly simplified if you create a new mailbox on your PC, send yourself two or three short test messages, and save them in that mailbox. Then do exactly the same thing on the Mac. Copy the Windoze file to the Mac, and use those two files — which should be as similar as they possibly can be, given the two different platforms — for the comparison. I'll be interested to hear the results.
    BTW, it has taken me something over an hour, what with waiting through nine-minute Discussions page loads this morning, to reach the point of clicking the Post button for this reply. I may not be able to help you in the end, but it isn't for lack of persistence.

Maybe you are looking for

  • Can't change filetype association back to CS5

    [FYI - similar post in the Acrobat and InDesign forums.] We  installed the CS5.5 upgrade  today, and for the time being I would  prefer to open my existing Illustrator docs with CS5.0, using 5.1 only when  we receive v5.1 files. I  highlight an AI fi

  • Images not showing up!! Running late... what else is new...

    I am using CS4 on a Mac I made a simple page with two images. Neither shows up when I upload the files. I have a site:      KathrynCecelia.com A folder for the site      kathryncecelia Inside that folder is a another folder      images Inside that fo

  • Problem playing audiobooks with music app

    Ever since the new update listening to my audiobooks has been a challenge.   The app does not show chapters any more and now every time I stop listening to a book and then go back later the book starts over.  Is there a fix? or another app I can use

  • How can I find a mac adress on a E61?

    Hello I've configured my wlan with the mac adresses for all the units who use internet. So my E61 see is access denied because I can't resolve the case "mac adress" on my gateway and I have no idea to give a hard IP on my network (no routable ip) for

  • Processor

    I got a Hp pavilion dv7 1240us. I want to knowif i can upgrade the cpu processor to a newwest amd processor, because i am trying to fix this computer. Please help.