Accessing JMX via JNDI?

Hi all,
I've used JMX just a bit via custom jsps and the HttpAdapter that ships with Coherence. I would like to know how, if at all, to access the MBeans via JNDI. Running in WLS 8.1, I can access the WebLogic MBeans by looking up the MBean server via JNDI or by looking up the WLS-specific MBeanHome via JNDI. Can I do something similar with the Coherence MBeans? In my jsp, I can get the default MBeanServer via the MBeanServerFactory and then look up something like "Coherence:type=Service,*" and go from there. With JNDI, I look up "weblogic.management.server" but can't use it to look up any Coherence MBeans. Is there a different MBean server I should be looking up? Something else completely?
Also, is there a way to use something more like strong typing? In other words, can I cast an object to something like ServiceMBean and call methods like getRequestTotalCount() on it? I know this works with WLS, but they document the interfaces. I haven't seen anything similar for Coherence.
thanks
john

Hi all,
I've used JMX just a bit via custom jsps and the HttpAdapter that ships with Coherence. I would like to know how, if at all, to access the MBeans via JNDI. Running in WLS 8.1, I can access the WebLogic MBeans by looking up the MBean server via JNDI or by looking up the WLS-specific MBeanHome via JNDI. Can I do something similar with the Coherence MBeans? In my jsp, I can get the default MBeanServer via the MBeanServerFactory and then look up something like "Coherence:type=Service,*" and go from there. With JNDI, I look up "weblogic.management.server" but can't use it to look up any Coherence MBeans. Is there a different MBean server I should be looking up? Something else completely?
Also, is there a way to use something more like strong typing? In other words, can I cast an object to something like ServiceMBean and call methods like getRequestTotalCount() on it? I know this works with WLS, but they document the interfaces. I haven't seen anything similar for Coherence.
thanks
john

Similar Messages

  • Access ADSI through JNDI ?

    Hi All,
    Im a newbie to JNDI. Could you please answer to my following query:
    I wanted to access the ADSI (Microsoft's Active Directory Services Interface) with the client java code.
    I am aware that we can do this by using JNDI since a service provider is
    availaible for NDS and LDAP.
    So my question can I access Microsoft's ADSI using
    JNDI? If so how? (I mean where is the service provider availaible for
    ADSI and how does JNDI interact with COM interfaces of ADSI). If not, is there any other way I can access the ADSI using java code (I know that JIntegra has some software to do this).
    Many thanks in advance.

    JNDI is similar to ADSI in that it provides a set of interfaces and directory service providers.
    You can access Active Directory directly using JNDI via the LDAP protocol. Here is a list of some of the posts I have submitted.
    JNDI, Active Directory and Authentication (Part 1) (Kerberos)
    http://forum.java.sun.com/thread.jspa?threadID=579829&tstart=300
    JNDI, Active Directory & Authentication (part 2) (SSL)
    http://forum.java.sun.com/thread.jspa?threadID=581425&tstart=50
    JNDI, Active Directory & Authentication (part 3) (Digest-MD5)
    http://forum.java.sun.com/thread.jspa?threadID=581868&tstart=150
    JNDI, Active Directory & Authentication (part 4) (SASL EXTERNAL)
    http://forum.java.sun.com/thread.jspa?threadID=641047&tstart=0
    JNDI, Active Directory, Paging and Range Retrieval
    http://forum.java.sun.com/thread.jspa?threadID=578347&tstart=0
    JNDI, Active Directory, Referrals and Global Catalog
    http://forum.java.sun.com/thread.jspa?threadID=603815&tstart=15
    JNDI, Active Directory (Creating new users & demystifying userAccountControl)
    http://forum.java.sun.com/thread.jspa?threadID=582103&tstart=15
    JNDI, Active Directory & Changing Passwords
    http://forum.java.sun.com/thread.jspa?threadID=592611&tstart=50
    JNDI, Active Directory and Group Memberships
    http://forum.java.sun.com/thread.jspa?threadID=581444&tstart=150
    JNDI, Active Directory and objectGUID's
    http://forum.java.sun.com/thread.jspa?threadID=585034&tstart=150
    JNDI, Active Directory and SID's (Security Identifiers)
    http://forum.java.sun.com/thread.jspa?threadID=585031&tstart=150
    JNDI, Active Directory and Error codes
    http://forum.java.sun.com/thread.jspa?threadID=578674&tstart=200
    JNDI, Active Directory and Server Side Sorting
    http://forum.java.sun.com/thread.jspa?threadID=628857&tstart=0
    JNDI, Active Directory & Persistent Searches (part 1)
    http://forum.java.sun.com/thread.jspa?threadID=578338&tstart=200
    JNDI, Active Directory and Persistent Searches (part 2)
    http://forum.java.sun.com/thread.jspa?threadID=578342&tstart=200
    Sample code demonstrating a search for disabled accounts.
    http://forum.java.sun.com/thread.jspa?threadID=588430&messageID=3045217
    JNDI, Active Directory and User Account status (account expired, locked)
    http://forum.java.sun.com/thread.jspa?threadID=716240&tstart=0
    JNDI, Active Directory and Authentication (part 5, LDAP Fastbinds)
    http://forum.java.sun.com/thread.jspa?threadID=726601&tstart=0
    If you need to access ADSI via JNDI (perhaps for some of the ADSI specific features), then other posts on this forum have suggested http://j-integra.intrinsyc.com/

  • Connector access via JNDI?

    I have a project on java.net - https://lucenerar.dev.java.net/ if you're interested - and I have a client class meant to hide all the JNDI and connector plumbing from my application. However, this class needs to look up the connector via JNDI.
    This is all fine and good, but my webapp fails verification in the J2EE 1.4 RI if I have a resource-ref to a Connector factory. According to the developer's guide at http://docs.sun.com/source/819-0079/dgjndi.html I should be able to specify a resource of type javax.resource.cci.ConnectionFactory - which I do! - but this is the only cause of failure I can find.
    Note that I don't have a sun-web.xml yet, so it may be that it's trying to resolve the local name to a global name, and failing at that point. If that's the case, it's an error on my part as deployer, which I'll be glad to address - but I'd really rather know if that's actually the cause of my error, because that SHOULD be something I can configure at deploy-time rather than build time, IMO (as the connection factory's name is configured at deploy-time rather than build-time.)
    Does anyone see anything obvious that I'm doing incorrectly?

    [#|2005-01-20T19:59:00.836-0500|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.verifier|_ThreadID=24;|INFO: Look in file "/var/tmp//main-site.war20050120075858.txt" for detailed results.|#]
    [#|2005-01-20T19:59:03.214-0500|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=25;|Total Deployment Time: 30206 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
    [#|2005-01-20T19:59:03.257-0500|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=25;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Some verifier tests failed for the given application. Aborting deployment. Please verify your application using the verifier separately for more details
         at com.sun.enterprise.deployment.backend.ModuleDeployer.runVerifier(ModuleDeployer.java:871)
         at com.sun.enterprise.deployment.backend.WebModuleDeployer.preRedeploy(WebModuleDeployer.java:260)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:171)Looking at the text file yields:
          FAILED TESTS :
          Test Name : tests.web.WebResourceType
          Test Assertion : The resource-type element specifies the Java class type of the data source. Please refer to Java Servlet 2.4 Specification Section #SRV.13.4 for further information.
          Test Description : For [ main-site.war ]
    Error: The resource-type [ javax.resource.cci.ConnectionFactory ] element does not specify a valid Java class type for the data source within Web application [ main-site ].This is the failure that prevents deployment, that I'm trying to resolve. My suspicion is that my connection factory doesn't implement something it's supposed to, but I don't know where to look to find out what it is. SRC.13.4 sheds little light on it.

  • SJSAS 9.1 does not expose EJB 3.0 remote Interface via JNDI

    I have successfully deployed a simple Stateful EJB 3.0 bean (CartBean, like the one in the Java EE 5 tutorial remote interface Cart) on SJSAS 9.1, located on machine host1.
    After I deployed the CartBean, I browsed the SJSAS and noticed the existence of the following JNDI entries:
    ejb/Cart
    ejb/Cart__3_x_Internal_RemoteBusinessHome__
    ejb/Cart#main.Cart
    ejb/mgmt
    ejb/myOtherEJB_2_x_bean ( +myOtherEJB_2_x_bean+ is a different 2.x bean that I have deployed as well)So, I am trying to access the remote interface of the CartBean from a remote machine, host2. The client application is a Java-standalone client.
    I am using the Interoperable Naming Service syntax: corbaname:iiop:host1:3700#<JNDI name>
    The problem is that the remote interface of the bean does NOT seem to be available via JNDI. I get the javax.naming.NameNotFoundException when I try to do a lookup like:
    corbaname:iiop:host1:3700#ejb/Cart
    On the other hand, the following lookups succeed:
    corbaname:iiop:host1:3700#ejb/mgmt
    corbaname:iiop:host1:3700#myOtherEJB_2_x_bean
    and also the following succeeds:
    corbaname:iiop:host1:3700#ejb/Cart__3_x_Internal_RemoteBusinessHome__So it seems like the Remote interface is not available via JNDI, rather only some internal SJSAS implementation (the object returned from the ejb/Cart__3_x_Internal_RemoteBusinessHome__ lookup is of type: com.sun.corba.se.impl.corba.CORBAObjectImpl
    Why is this happening? I know there used to be a bug in Glassfish, but I thought it had been fixed since 2006.
    Many thanks in advance, any help would be greatly appreciated.

    The EJB 3.0 Remote Business references are not directly stored in CosNaming. EJB 3.0 Remote references do not have the cross-vendor interoperability requirements that the EJB 2.x Remote view had.
    You can still access Remote EJB references from a different JVM as long as the client has access to SJSAS naming provider. Please see our EJB FAQ for more details :
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html

  • EJB called via JNDI in a Repository Service :: ClassCastException

    Hi SDN,
    I've got a problem in calling an EJB from a Repository Service...
    Here the steps I've follow:
      -  An EJB has been created with some Business Methods in it; it has been packaged in an EAR and deployed;
      -  This EJB is looked up succesfully via JNDI in a WDJ application and also in an Abstract Portal Component; I use the following guides:
    [Accessing EJB Apps using JNDI|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0736159e-0301-0010- 9ea4-c63d83d0797b?QuickLink=index&overridelayout=true]
    [Referencing an EJB in an Abstract Portal Component|http://wiki.sdn.sap.com/wiki/display/HOME/ConnectingEJBUsing ExternalJars]
      -  A Repository Service has been created and registered on "CREATE_CHILD_TEMPLATE" ResourceEvent; I can see from logs that this service works correctly;
       -  I've copied in the PAR lib and private/lib folders two jars (ejb20.jar and the JAR created building the EJB) and they are added to the build path;
      -  If I try to look up the EJB via JNDI in the received service method, I get a ClassCastException...
    Here some code:
    try {
         //I use System.err to see log in the Default Trace
         System.err.println("Initialize EJB");
         //TestJNDIHome class seems to be visible at runtime, following instruction does not throw any exception
         System.err.println("ToString TestJNDIHome: " + TestJNDIHome.class.toString());
         //EJB and PAR are on the same J2EE engine, so no InitialContext parameters, I'm right?
         InitialContext context = new InitialContext();
         Object jndiobj = context.lookup("altevie.com/testear/TestJNDIBean");
         System.err.println("Classe oggetto recuperato da lookup: " + jndiobj.getClass());
         TestJNDIHome home = (TestJNDIHome) javax.rmi.PortableRemoteObject.narrow(jndiobj, TestJNDIHome.class);
         testJNDI = home.create();
    } catch (NamingException ex) {
         System.err.println("NamingException :: " + ex.getLocalizedMessage());
    } catch (RemoteException ex) {
         System.err.println("RemoteException :: " + ex.getLocalizedMessage());
    } catch (CreateException ex) {
         System.err.println("CreateException :: " + ex.getLocalizedMessage());          
    Here the portalapp.xml (in the same PAR there are two objects, the Repository Service and an Abstract Portal Component, but I've got the same problem also removing the Abstract Portal Component...):
    <application>
      <application-config>
        <property name="com.sap.engine.interfaces.cross.ObjectReferenceImpl" value="SAPJ2EE::altevie.com/testEAR"/>
        <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
        <property name="PrivateSharingReference" value="SAPJ2EE::altevie.com/testEAR"/>
      </application-config>
      <components>
        <component name="TestJSP">
          <component-config>
            <property name="ClassName" value="com.comer.eps.epcomp.TestJSP"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services>
        <service name="RFServiceWrapper">
          <service-config>
            <property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
      </services>
    </application>
    javax.rmi.PortableRemoteObject.narrow method call throws a ClassCastException...
    From the previous println I can see the lookup method returns a com.sap.engine.interfaces.cross.ObjectReferenceImpl object, I do not know if it is correct...
    I've tried to lookup the Local (localejbs/altevie.com/testear/TestJNDIBean) and Remote (altevie.com/testear/TestJNDIBean) JNDI Bean name, but I get the same error...
    I'm sure the JNDI name is correct (it works with WDJ and Abstract Portal Component... I've also tested via LOOKUP command using telnet to connect to J2EE AS and I've checked JNDI Registry and EJB Container services in Visual Admin)...
    Here the stack trace of the error:
    java.lang.ClassCastException: com.comer.eps.ejb.AccessiEJBHome
         at com.sap.engine.services.cross.PortableRemoteObjectContainer.narrow(PortableRemoteObjectContainer.java:179)
         at com.sap.engine.system.PortableRemoteObjectProxy.narrow(PortableRemoteObjectProxy.java:24)
         at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
         at com.comer.eps.repsrv.onsave.RipubblicaByDE.initializeEJB(RipubblicaByDE.java:145)
    Can you help me? Why JNDI lookup works in an Abstract Portal Application and doesn't in a Repository Service (same code...)?
    Thank you so much and best regards,
    Manuel
    Text Formatted: Manuel Xiccato on Sep 27, 2011 12:29 PM

    Hi SDN,
    I've got a problem in calling an EJB from a Repository Service...
    Here the steps I've follow:
      -  An EJB has been created with some Business Methods in it; it has been packaged in an EAR and deployed;
      -  This EJB is looked up succesfully via JNDI in a WDJ application and also in an Abstract Portal Component; I use the following guides:
    [Accessing EJB Apps using JNDI|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0736159e-0301-0010- 9ea4-c63d83d0797b?QuickLink=index&overridelayout=true]
    [Referencing an EJB in an Abstract Portal Component|http://wiki.sdn.sap.com/wiki/display/HOME/ConnectingEJBUsing ExternalJars]
      -  A Repository Service has been created and registered on "CREATE_CHILD_TEMPLATE" ResourceEvent; I can see from logs that this service works correctly;
       -  I've copied in the PAR lib and private/lib folders two jars (ejb20.jar and the JAR created building the EJB) and they are added to the build path;
      -  If I try to look up the EJB via JNDI in the received service method, I get a ClassCastException...
    Here some code:
    try {
         //I use System.err to see log in the Default Trace
         System.err.println("Initialize EJB");
         //TestJNDIHome class seems to be visible at runtime, following instruction does not throw any exception
         System.err.println("ToString TestJNDIHome: " + TestJNDIHome.class.toString());
         //EJB and PAR are on the same J2EE engine, so no InitialContext parameters, I'm right?
         InitialContext context = new InitialContext();
         Object jndiobj = context.lookup("altevie.com/testear/TestJNDIBean");
         System.err.println("Classe oggetto recuperato da lookup: " + jndiobj.getClass());
         TestJNDIHome home = (TestJNDIHome) javax.rmi.PortableRemoteObject.narrow(jndiobj, TestJNDIHome.class);
         testJNDI = home.create();
    } catch (NamingException ex) {
         System.err.println("NamingException :: " + ex.getLocalizedMessage());
    } catch (RemoteException ex) {
         System.err.println("RemoteException :: " + ex.getLocalizedMessage());
    } catch (CreateException ex) {
         System.err.println("CreateException :: " + ex.getLocalizedMessage());          
    Here the portalapp.xml (in the same PAR there are two objects, the Repository Service and an Abstract Portal Component, but I've got the same problem also removing the Abstract Portal Component...):
    <application>
      <application-config>
        <property name="com.sap.engine.interfaces.cross.ObjectReferenceImpl" value="SAPJ2EE::altevie.com/testEAR"/>
        <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
        <property name="PrivateSharingReference" value="SAPJ2EE::altevie.com/testEAR"/>
      </application-config>
      <components>
        <component name="TestJSP">
          <component-config>
            <property name="ClassName" value="com.comer.eps.epcomp.TestJSP"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services>
        <service name="RFServiceWrapper">
          <service-config>
            <property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
      </services>
    </application>
    javax.rmi.PortableRemoteObject.narrow method call throws a ClassCastException...
    From the previous println I can see the lookup method returns a com.sap.engine.interfaces.cross.ObjectReferenceImpl object, I do not know if it is correct...
    I've tried to lookup the Local (localejbs/altevie.com/testear/TestJNDIBean) and Remote (altevie.com/testear/TestJNDIBean) JNDI Bean name, but I get the same error...
    I'm sure the JNDI name is correct (it works with WDJ and Abstract Portal Component... I've also tested via LOOKUP command using telnet to connect to J2EE AS and I've checked JNDI Registry and EJB Container services in Visual Admin)...
    Here the stack trace of the error:
    java.lang.ClassCastException: com.comer.eps.ejb.AccessiEJBHome
         at com.sap.engine.services.cross.PortableRemoteObjectContainer.narrow(PortableRemoteObjectContainer.java:179)
         at com.sap.engine.system.PortableRemoteObjectProxy.narrow(PortableRemoteObjectProxy.java:24)
         at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
         at com.comer.eps.repsrv.onsave.RipubblicaByDE.initializeEJB(RipubblicaByDE.java:145)
    Can you help me? Why JNDI lookup works in an Abstract Portal Application and doesn't in a Repository Service (same code...)?
    Thank you so much and best regards,
    Manuel
    Text Formatted: Manuel Xiccato on Sep 27, 2011 12:29 PM

  • Neither JMX nor JNDI seems working with OEP 12.1.3 (regression ?)

    Hi,
    I'm currently writing an OEP application, on the 12.1.3 version.
    My first problem is related to JMX: when OEP is started, I cannot connect in JMX:
    I lanch "OEP_HOME/oep/bin/wlevsjconsole.cmd"
    I use the following URL "service:jmx:msarmi://localhost:9002/jndi/jmxconnector" with user "wlevs" and my pwd
    Impossible to connect...
    My second problem is related to JNDI resource access:
    I add an "data-source" with its "data-source-params/jndi-names/element" in the OEP domain's config.xml file
    I start my OEP (with or without security disbaled, it doesn't change nothing)
    I try to access programmatically the JNDI resource (using the InitialContext lookup method with no prefix, with "java:comp/env/jdbc/", with "java:jdbc/, with "jdbc/") but I always get a NameNotFoundException.
    I try to list programmatically the JNDI resources using the list("") but I get a NoPermissionException.
    I'm not 100% sure, but it seems to me that these things were working with the 11 version of OEP. Could these be regressions ?
    Thx for any help or advice on this.
    RP

    After a reboot of node 2 everything returned to work fine.

  • Problem accessing mail via Safari browser

    How do I access iCloud Mail via my Safari browser on my iPhone? If I go to iCloud.com it just offers me the option to install it on my phone.
    The problem is, I already have it installed on my phone and it works fine EXCEPT at my new job - the wifi is not very good and I can access internet/Facebook etc but every time I try and load email it always says it 'cannot find the server .' I therefore tried to access email via safari browser - my other email provider works fine that waybut iCloud doesn't even give me the option to login, just keeps suggesting I install it.
    Any ideas how I can check iCloud email at work? Can't do it on work computers, site is blocked....and there is no 3G/4G signal.
    Thanks for any advice!

    According to http://support.apple.com/kb/PH2618 you should be able to access it via a browser by going to https://www.icloud.com/#mail

  • I would like to free up some space on my computer and move my iphoto library to the time capsule and easily access it. Also, would I be able to access them via the TC if I purchased a new computer?

    I am using my TC as an external hard drive, I would like to remove my photos from my computer to free up space. I'm wondering:
    1. Once the photos are moved, how do I access them via the TC, AND will i still be able to print them and see them the way they were set up in my iphoto on the computer?
    2. If I purchase a new computer, will I still be able to access them just as easily?
    3. What is the process to move the photos to the TC?
    I am afraid that if I "erase" them from my computer I will not be able to access them.

    Are you still using iphoto?
    If so you should NOT move the iphoto library to the TC and use it.
    Apple says you will corrupt the library doing this.
    http://support.apple.com/kb/TS5168
    Although mostly about FAT32  it adds network drives.
    http://support.apple.com/kb/HT1198
    Now what I cannot tell you is if the same rules apply to the new photo app. Apple might have fixed the problem.
    For iphoto you should offload the photos to USB drive plugged into your computer.. or any external drive.. the faster the interface the better.
    Apple have explicit instructions for moving the library.
    iPhoto '11: Move your iPhoto library to a new location

  • Can't access photos via windows, everything else works iTunes, external software etc.

    Hello,
    Since I installed Windows 8.1 I have quite big problem, can't access photos via windows explorer. iTunes and other software can see phone and works completely fine.
    There is error 28 in device manager.
    Tried uninstalling all services including iTunes itself and got latest iTunes today and still no luck.
    Anybody knows solution to this ?
    (iPhone 4S iOS 7.0.4)

    Is it just me, who got this issue ?

  • Can no longer access Facebook via Safari on iPhone

    Ever since I loaded IOS 6 onto my iPhone 4, I cannot get to Facebook via Safari...it automatically reverts to the fb app. Even if I put www.facebook.com into the browser. I still access fb via Safari on my ipad (new ipad). This is important as I have low vision and the font is too small on the app.

    I have the problem after upgrading my iPad to iOS 6.
    It started with the app store, then facebook app and finally can't access to any apple.com page.
    Already restore the iPad and now I can access to app store. Still working to get back my access to facebook.
    If anyone has an idea about this?

  • Static NAT causes unable to access server via internal IP

    Hi all,
    Need some help. I running site-to-site IPsec VPN in Cisco 2811 IOS 12.4 both site. Here I encounter a problem to access server on  Site A from Site B
    Site A having Leased Line connected to router with Public IP. I have done static mapping 1 web server to Public IP (NAT). This to allow external users to access the server via Public IP. At the same time, users at Site B would need to access to same server via Internal IP since they have Site-to-Site VPN established. But once I done Static Mapping (NAT), user at Site B unable to access the server at Site A using its internal IP. But external user can access server via Public IP. What went wrong here. Do i need to add extra command to get this done? We really need this.

    Hi sheik,
    I'm accessing the server form Site B using its server's LAN IP.
    If I remove the static NAT statement from my router at Site A, everything works well. I can access the server from site B using its LAN IP via Site-to-Site VPN. But in this case, external users unable to access server via Public IP since no Static NAT statement.

  • Unable to access internet via my airport extreme base station

      I have an AirPort Extreme Base Station which is hard wired to a Mac and which communicates wirelessly to a Mac in another room.  My internet access is via comcast.  Direct connection from this computer to my modem works fine, but not if I go through the AirPort.  The LED lights of the AirPort indicate normal network activity, (flashing/on/flashing).  I have tried disconnecting and reconnecting everything and rebooting the computer.  The system has been working normally through the AirPort until today.

    I would recommend that you do the following as a minimum:
    Power-down the modem, AirPort base station, and computer(s).
    (OPTIONAL) Disconnect the AirPort base station from the Internet broadband modem.
    (OPTIONAL) While all of the devices are powered-down, perform a "factory default" reset on the base station. This will get it back to its "out-of-the-box" configuration and make setting it up much easier, especially if you use the "Assist me" process within the AirPort Utility. (ref: Resetting an AirPort Base Station or Time Capsule)
    (OPTIONAL) After the base station resets, go ahead and power it back down.
    (OPTIONAL) Reconnect the AirPort base station to the Internet broadband modem. For the Extreme and Time Capsule, be sure to connect the cable to the base station's WAN (circle-of-dots) port.
    Power-up the modem; wait at least 10-15 minutes to allow it adequate time to initialize.
    Power-up the AirPort base station; wait at least 5-10 minutes. Note: The AirPort's status light may continue to flash amber after it has intialized. That is because, there may be some additional configuration items necessary, like setting up wireless security, before the overall setup is completed to get a green status.
    Power-up your computer(s).
    In this basic configuration, the AirPort base station will broadcast an unsecured wireless network with a Network Name (SSID) of Apple Network NNNNNN. Network clients, connected to the base station either by wire or wireless, should now be able to access the Internet through the ISP's modem. Once Internet connectivity has been verified, you can use the AirPort Utility to configure the base station for wireless security and any other desired options. Please post back your results.

  • HT5621 Two days ago I changed my apple id.  Itunes recognizes my new apple id when I access itunes via the computer. when I try to make a purchase or update my apps on my iphone, it asks to give the password to the old apple id.  How do i change it on my

    Two days ago I changed my apple id.  Itunes recognizes my new apple id when I access itunes via the computer. when I try to make a purchase or update my apps on my iphone, it asks to give the password to the old apple id.  How do i change it on my iphone?

    Apps and music are forever tied to the Apple ID under which they were purchased.  If you don't want to continue to get that message, delete the apps and purchase them again with your new Apple ID.

  • Using Interactive Report with SQL query accessing tables via db link

    Is there a known issue with using the interactive report in version 3.1.2.00.02 with SQL that is accessing tables via a database link? I get the error 'not all variables bound', I do not get this error when using the standard report for the same SQL?
    Thanks,
    Edited by: [email protected] on May 26, 2009 2:59 PM

    Varad,
    Good question, failed to check that. In fact there are errors. Dump file c:\oraclexe\app\oracle\admin\xe\bdump\xe_s002_3640.trc
    Mon Jun 15 08:48:11 2009
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Windows XP Version V5.1 Service Pack 3
    CPU : 2 - type 586, 1 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1051M/2038M, Ph+PgF:2273M/3934M, VA:1302M/2047M
    Instance name: xe
    Redo thread mounted by this instance: 1
    Oracle process number: 16
    Windows thread id: 3640, image: ORACLE.EXE (S002)
    *** ACTION NAME:(PAGE 2) 2009-06-15 08:48:11.743
    *** MODULE NAME:(APEX:APPLICATION 112) 2009-06-15 08:48:11.743
    *** SERVICE NAME:(SYS$USERS) 2009-06-15 08:48:11.743
    *** CLIENT ID:(ADMIN:232384011651572) 2009-06-15 08:48:11.743
    *** SESSION ID:(24.931) 2009-06-15 08:48:11.743
    *** 2009-06-15 08:48:11.743
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_LdiDateFromArray+55] [PC:0x608B04F3] [ADDR:0x0] [UNABLE_TO_WRITE] []
    Current SQL statement for this session:
    select Stage,Procedure,Stp,FW,Reslt,MSG,date_run
    from bi_msg_VW@dwitnm
    order by 1
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2FE1EA14 1207 package body SYS.DBMS_SYS_SQL
    2FE1F064 328 package body SYS.DBMS_SQL
    2ABDC520 5097 package body APEX_030200.WWV_RENDER_REPORT3
    2BD5E55C 1538 package body APEX_030200.WWV_FLOW_DISP_PAGE_PLUGS
    2BD5E55C 366 package body APEX_030200.WWV_FLOW_DISP_PAGE_PLUGS
    335BDA88 11190 package body APEX_030200.WWV_FLOW
    2BDBD1C8 255 procedure APEX_030200.F
    2AB58D10 30 anonymous block
    ----- Call Stack Trace -----
    I didn't include the call stack, it is too large. Now I'm even more puzzled that the IR would work while a sql report would fail.
    Bob

  • How can I persist a Java object to the PCD via JNDI ?

    Hi,
    I'm trying to persist XML data on the PCD via JNDI. I'm using
    portal version 6.2.0.4.200408172051.
    I followed the instructions in the "Portal Runtime Technology 640"
    document.
    The example they showed was:
    import javax.naming.Context;
    Context context = PortalRegistry.getCentralConfigurationContext();
    Context applicationContext = context.lookup("MyAppName");
    It was possible to obtain 'applicationContext' in the above example by
    using:-
    Context context = PortalRegistry.getCentralConfigurationContext();
    String appName = request.getComponentContext().getApplicationName();
    Context applicationContext = (Context) context.lookup(appName);
    However, any attempt to bind, rebind an object (implementing IStreamSource)
    resulted in NamingExcptions. As did 'listBindings' and 'list' (see below).
    BeanWrapper d = new BeanWrapper("test input");
    applicationContext.rebind("PCD_LOOKUP_KEY", d);
    // where 'd' implements IStreamSource
    class BeanWrapper implements IStreamSource {
    String content = "balh";
    BeanWrapper(String s) {
    content = s;
    public InputStream getInputStream() throws IOException {
    ByteArrayInputStream bis = new ByteArrayInputStream(content.getBytes());
    return bis;
    } // getInputStream
    } // BeanWrapper
    I don't know what I've done wrong. I couldn't find any more documentation
    on this topic...
    Any help would be appreciated.
    cheers,
    Michael
    javax.naming.NameNotFoundException: [Xfs] Object not found. Root exception is javax.naming.NamingException: [Xfs] Object not found
    at com.sapportals.portal.pcd.gl.xfs.BasicContext.lookup(BasicContext.java:840)
    at com.sapportals.portal.pcd.gl.PcdPersContext.lookup(PcdPersContext.java:422)
    at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:387)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1083)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1170)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1132)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.getBasicObject(PcdProxyContext.java:1330)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.getBasicContext(PcdProxyContext.java:1306)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:473)
    at com.sapportals.portal.pcd.gl.PcdGlContext.rebind(PcdGlContext.java:1185)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:515)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:683)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:688)
    at com.sapportals.portal.prt.jndisupport.util.AbstractContextWrapper.rebind(AbstractContextWrapper.java:46)
    at com.siemens.pct.employee.cu_selector.CUSelector.saveCuBeanToPCD(CUSelector.java:305)
    at com.siemens.pct.employee.cu_selector.CUSelectorUpload.doUpload(CUSelectorUpload.java:70)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
    at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
    at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:333)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:627)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
    at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
    at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
    at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
    at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
    at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
    at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
    at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
    at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

    Hi Michael,
    here my comments to your questions:
    0.:[Michael says:]
    "So basically you're saying that under SP10 its not possible to store objects on the PCD ... ?"
    I want to clarify this:
    It is possible to store objects in the PCD in lower releases than SP10 (e.g. SP2). But due to the fact that PCD API is not public before SP10 you should not develop a SP2 iView that programmatically uses the PCD API and complain afterwards because some "tiny" things of it are not working in SP10. It might be that you have to adjust some parts of this SP2 iView.
    The kind of object that can be stored in the PCD depends on the fact if the objects have a corresponding object provider or not. If you want to store iViews, roles or one of the other commonly known portal objects you can do it because corresponding object provider (iViewservice, roleservice, etc.) are always available in a running portal.
    If you want to store objects (like your BeanWrapper class) then you should write a corresponding object provider (what I explained in my first reply).
    1.:[Michael asked:]
    Why does list and listBindings fail ? surely that should just
    list the existing bound objects ???
    Nothing was bound!
    Your code line
    applicationContext.rebind("PCD_LOOKUP_KEY", d);
    throws a NamingException because no object provider for class of object d was found.
    So I gess you did a lookup on  applicationContext.lookup( "PCD_LOOKUP_KEY" ) before you did the list/listBindings and because this
    context does not exist the corresponding "Name not found" exception was thrown?
    A list/listBinding on the applicationContext itself should work even if nothing was bound.
    2.:[Michael asked:]
    Is there not some kind of default object/object provider pair
    that can be used to store base types like Strings/Integers etc ?
    No. There are no default object providers for java string/integers. But for this case "persisting a string or integer value at any PCD context" the PCD offers another way to do it: Just create an additional attribute (of type STRING or INT) and persist the corresponding value in this attribute (of type IPcdAttribute - an extension of javax.naming.directory.Attribute )   
    The code for creating a pcd attribute looks e.g. like this:
    IPcdObjectFactory pcdObjFactory = ((IPcdGlService) PortalRuntime
                                                   .getRuntimeResources()
                                                   .getService(IPcdGlService.KEY))
                                                   .getPcdObjectFactory();
    IPcdAttribute newPcdAttr = pcdObjFactory.createPcdAttribute(     PcdAttributeValueType.STRING,
                                            "new_attrId" );     
    newPcdAttr.set(     0,
              "new_AttrValue" );
    ModificationItem mods[] = new ModificationItem[1];
    mods[0] = new ModificationItem(      DirContext.REPLACE_ATTRIBUTE,
                               (Attribute)newPcdAttr );
    pcdCtx.modifyAttributes(     "",
                        mods );
    Hope, that helps you!
    Regards,
    Jens

Maybe you are looking for

  • Report Server Performance related problem

    Hi all, We have a report which generates the output in PDF format. Our Report generates report of 2134 pages with some particular parameters. If a user runs a 2134 long page report over the Web, is there a way to look at some of the pages rather than

  • Snow Leopard Server in a VM.

    Looking for answers specific to running SL Server in a virtual machine such as VirtualBox, Parallels, etc. I'd rather just use the client version, but that's not allowed. I have a few apps that are PPC only. Two are Monaco Profiler and ProfileMaker 5

  • Preloader freezes randomly - Problem reported by several users in this forum.

    I made an animation on the Edge CC 2014.1 of the company I work for, and I was always testing locally, and everything was going very well. When I finished the animation and decided to upload to the server, I realized after making test with different

  • Catalog Service Error

    Hello everybody, On our development system a user with normal privilegs get a Fatal Error "Invalid Assignment Target: [SQL_Query.Param.1]" but a user with development rights doesn't get this error. I set the rights similar to the productive system wh

  • Tab Pages -- Execute_query

    Hi all, I have several tab pages. Some pages have same table and some do not. I need a best method out of the flg 2. 1. Execute_query in New-form-instance trigger like go_block('blk1); execute_query; go_block('blk2); execute_query; etc... In this met