Problems with SNMP examples in WL documentation

I am using WL 5.1 on NT. Tried to follow SNMP use examples shown in WL
documentaion. Command line examples refuse to work- I either get an
error that ...Remote Host Unknown... or ...Errored Object ID...
1. after many iterrations launched SNMP agent with the following
command-
java webloghic.SNMPAgent -serverURLs localhost
with password of WL administrator=weblogic
agents reports that initialization was completed
2. Documentation examples do not seem to work.
3. I presume that snmp.mycompany.com reference is an error,
snmp.weblogic.com is probably correct (?)
Can anyone suggest how to make this thing work It's driving me nuts :-)
Thanks,
Vadim

Vadim,
please see comments inline....
vadim t <[email protected]> wrote in message
news:[email protected]..
I am using WL 5.1 on NT. Tried to follow SNMP use examples shown in WL
documentaion. Command line examples refuse to work- I either get an
error that ...Remote Host Unknown... or ...Errored Object ID...
1. after many iterrations launched SNMP agent with the following
command-
java webloghic.SNMPAgent -serverURLs localhost
with password of WL administrator=weblogic
agents reports that initialization was completed
The serverURLs value doesn't seem right, see below .... (this is the URL
used by the agent to connect to the managed WLS server)
You should try the following commandline as in
http://www.weblogic.com/docs51/admindocs/snmpagent.html
" java weblogic.SNMPAgent
-password foo
-serverURLs t3://dns_host_name:7001 "
where 'foo' is the 'system' password, and after replacing appropriate values
for your setup.
Also, if you prefer you can use - startSNMPAgent.cmd /sh which is in
<install_dir>/weblogic, after filling in the blanks.
2. Documentation examples do not seem to work.
3. I presume that snmp.mycompany.com reference is an error,
snmp.weblogic.com is probably correct (?)
Can anyone suggest how to make this thing work It's driving me nuts :-)
Thanks,
Vadim

Similar Messages

  • Problems with the examples in NWDS

    Hi All,
    Running the Welcome example project in NWDS i  have the included error.
    I have problems with other examples too.
    I did all the step by step tutorials.
    I have NWDS 2.0.3
             J2EE 6.40 SP15
             EP 2004
    I am new in NWDS and i have not still successed to run any application.
    What is wrong with my systems?
    I did all the configurations start J2EE /sdm etc.
    Do i have to install other versions? I read that maybe i have to install the same SP 15.
    Please if anybody can help me .
    Thanks,
    Ari 
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.sal.deployment.api.WDClassLoaderException: Classloader of 'local/Welcome' is null, even though application is started.
    at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObject.getClassLoader(DeployableObject.java:81)
    at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:588)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
    at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
    ... 18 more
    Ari

    Thank you for your help,
    I have NWDS 2.0.3 and Web AS 6.40 SP15 and EP 04.
    How can i be sure if  are compatible? Maybe i have to install NWDS SP15?
    I did "Rebuild" and then  "Deploy new archive and run" Deploying i was asking for the sdm password  , then the application opened in a new browser and we can see this message below.
    The Deploy Output View is empty. There is no eny successful deploy message.
    I appreciate your help.
    Thanks,
    Ari
    500   Internal Server Error
      Web Dynpro Container/SAP J2EE Engine/6.40 
    Failed to process request. Please contact your system administrator.
    [Details...]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.InstantiationError: com.sap.tc.webdynpro.progmodel.context.NodeInfo
        at com.sap.examples.welcome.wdp.InternalWelcomeComponent.<init>(InternalWelcomeComponent.java:41)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        ... 27 more
    See full exception chain for details.
    Correction Hints
    The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
    If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
    Note: the above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
    Version 
    DOM version 
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, Build ID: 6.4015.00.0000.20051123162612.0000 (release=630_VAL_REL, buildtime=2005-12-14:21:51:22[UTC], changelist=377533, host=PWDFM026)
    J2EE Engine No information available
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Other
    Session Locale en_US
    Time of Failure Fri Jan 26 14:29:31 EET 2007 (Java Time: 1169814571353)
    Web Dynpro Code Generation Infos
    local/Welcome
    No information available
    sap.com/tcwddispwda
    No information available
    sap.com/tcwdcorecomp
    No information available
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.examples.welcome.WelcomeComponent. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:38)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:776)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:330)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:370)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:608)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 26 more
    Caused by: java.lang.InstantiationError: com.sap.tc.webdynpro.progmodel.context.NodeInfo
         at com.sap.examples.welcome.wdp.InternalWelcomeComponent.<init>(InternalWelcomeComponent.java:41)
         ... 31 more

  • Linksys router, problems with SNMP

    Hello,
    We have several Linksys RVL200  routers out in the field. They work fine except now we want to enable SNMP to  monitor bandwidth usage with PRTG Network Monitor. I’m having a problem with a few of these getting SNMP  to work properly.
    I’ve configured all the devices  exactly the same, however some of them will not display the Ethernet sensors to  monitor bandwidth properly.
    I believe we have the latest  firmware installed (v1.1.7).
    I’ve done some onsite testing with  an SNMP tester and the results are the same.
    Do you have any suggestions on how I  can proceed?
    Thank  you,
    John

    Do you have problems with web browsing or other online applications? If not, the problem may lie with the games themselves. It's possible the games require ports to be forwarded to work correctly. Check the game documentation and see if this is the case.

  • PRI monitoring problem with SNMP

    Hello
    I'm having some problems with PRI monitoring.
    I'm using cpmDS1ActiveDS0 MIB on a 3800 VoIP gateway with 4 PRI (2x2) (IOS 12.4(4)T1)
    1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.0 - I can see PRI 0/0/0 total number of calls
    1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.1 - I can see PRI 0/0/1 total number of calls
    1.3.6.1.4.1.9.10.19.1.1.9.1.3.1.0 - Error
    1.3.6.1.4.1.9.10.19.1.1.9.1.3.1.1 - Error
    1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.0.x - Error
    1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.1.x - Error
    The PRIs that we want to see are 0/1/0 e 0/1/1...... (bad luck!)
    Do I need to make some special configuration on the Router?

    Have you had any responses to this issue ?
    I am running into exactly the same issue and have tried everything I can find to get these individual PRI (count of channels/lines in use) statistics.
    Just for the record, here are some of the SNMP OIDs that I have tried (the ISRs do respond to them, only thing is, the data they send back is mostly rubbish...) the output below is from two separate routers, with different versions of IOS running (which is shown in the sysdescr response):
    Note that the query in red in the second router was responded to with a valid response in the FIRST router...
    All of these OIDs have been suggested at various sites online as useable SNMP OIDs for the ISR, but at other sites, they are suggested to be faulty.  I have found no definitive statement for ways to get these stats successfully on the ISR platform (which amazes me.)  Output below is using net-snmp to collect the stats.
    I welcome any suggestions as to how this can be done reliably for the ISR, and what IOS versions WILL work.  (since I am getting way different reponses to the same OIDs on the two versions below).
    You'll see that for the second (DC) router below, the values are always Zero.
    Yet I can guarantee that the ACTUAL stats are NEVER zero during the time period queried.
    Timestamp: 2010-12-27_13:56:31.73
    C:\usr\share\snmp\mibs>snmptranslate -On CISCO-POP-MGMT-MIB::cpmActiveDS0s.0
    .1.3.6.1.4.1.9.10.19.1.1.4.0
    C:\usr\share\snmp\mibs>snmptranslate -On CISCO-POP-MGMT-MIB::cpmDS1ActiveDS0s.0.0
    .1.3.6.1.4.1.9.10.19.1.1.9.1.3.0.0
    C:\usr\share\snmp\mibs>snmptranslate -On CISCO-POP-MGMT-MIB::cpmISDNCfgBChannelsInUse.0
    .1.3.6.1.4.1.9.10.19.1.1.3.0
    C:\usr\share\snmp\mibs>snmptranslate -On CISCO-VOICE-DIAL-CONTROL-MIB::cvCallActiveDS0s.0
    .1.3.6.1.4.1.9.9.63.1.3.3.0
    C:\usr\share\snmp\mibs>snmptranslate -On ISDN-MIB::isdnBearerOperStatus.32
    .1.3.6.1.2.1.10.20.1.2.1.1.2.32
    From ROUTER2 - HQ:
    SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software,
    3800 Software (C3825-ADVIPSERVICESK9-M),
    Version 12.4(15)T8, RELEASE SOFTWARE (fc3)
    CISCO-POP-MGMT-MIB::cpmActiveDS0s.0 = Gauge32: 14
    CISCO-POP-MGMT-MIB::cpmDS1ActiveDS0s.0.0 = Gauge32: 14
    CISCO-POP-MGMT-MIB::cpmISDNCfgBChannelsInUse.0 = Gauge32: 7
    CISCO-VOICE-DIAL-CONTROL-MIB::cvCallActiveDS0s.0 = Gauge32: 7 interfaces
    ISDN-MIB::isdnBearerOperStatus.32 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.33 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.34 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.35 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.36 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.37 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.38 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.39 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.40 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.41 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.42 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.43 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.44 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.45 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.46 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.47 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.48 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.49 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.50 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.51 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.52 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.53 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.54 = INTEGER: idle(1)
    From ROUTER2 - DC:
    SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software,
    3800 Software (C3825-ADVIPSERVICESK9-M),
    Version 12.4(18), RELEASE SOFTWARE (fc1)
    CISCO-POP-MGMT-MIB::cpmActiveDS0s.0 = Gauge32: 0
    CISCO-POP-MGMT-MIB::cpmDS1ActiveDS0s.0.0 = Gauge32: 0
    CISCO-POP-MGMT-MIB::cpmISDNCfgBChannelsInUse.0 = Gauge32: 0
    CISCO-VOICE-DIAL-CONTROL-MIB::cvCallActiveDS0s.0 = No Such Object available on this agent at this OID
    ISDN-MIB::isdnBearerOperStatus.32 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.33 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.34 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.35 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.36 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.37 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.38 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.39 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.40 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.41 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.42 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.43 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.44 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.45 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.46 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.47 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.48 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.49 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.50 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.51 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.52 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.53 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.54 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.81 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.82 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.83 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.84 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.85 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.86 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.87 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.88 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.89 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.90 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.91 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.92 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.93 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.94 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.95 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.96 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.97 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.98 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.99 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.100 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.101 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.102 = INTEGER: idle(1)
    ISDN-MIB::isdnBearerOperStatus.103 = INTEGER: idle(1)
    Timestamp: 2010-12-27_13:56:35.02

  • Problem with aurioTouch example program

    Is anyone else having problems getting the aurioTouch example program to work in the emulator? I seem to have problems with any and all audio -related functions? What could be the problems?

    Cedric,
    This problem was fixed in the LabVIEW 6.0.2 update. You can download this update (along with the updated runtime engine) from our website.
    Good luck with your application, and have a pleasant day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Reading TDMS files in Matlab - problems with the example code

    I want to use the TDMS files to store data and do offline analysis in Matlab, version 2009b (either on Mac OS10.6 or Windows XP).
    To test the data import in Matlab I tried the example from http://digital.ni.com/public.nsf/allkb/0EEADA99DC7D00A4862572E30037C3A2 , but without success.
    I tried either with and without the path definition (as explained on the page I referred to before) at the start, and got back the following errors:
    with:
    ??? Error using ==> loadlibrary>deltempfiles at 559
    nilibddc_m.i.
    Error in ==> loadlibrary at 452
        deltempfiles(delfiles);
    Error in ==> Read_TDMData at 7loadlibrary([examplePath '\nilibddc'], hfile);
    without: 
    ??? Error using ==> loadlibrary>deltempfiles at 559
    nilibddc_m.i.
    Error in ==> loadlibrary at 452
        deltempfiles(delfiles);
    Error in ==> Read_TDMData at 36loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path); 
    I found a few messages on the issue, dating from 2006 and 2007, that didn't lead to a satisfying solution and was hoping that, by now, there would be a solution to my problem.
    Thanks a lot
    Remco   
    Solved!
    Go to Solution.

    Hi Musk,
    Thanks for your answer. 
    Unfortunately it didn't help as my problem is not discussed there. I have a problem with this line:
    loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path);
    I said before that I was using 2009b, but I was mistaken, I have R2008a, but the 'loadlibrary' is opened in a 2008b editor (no idea why). On the Mac I have 2009b installed.
    Thanks
    Remco 

  • Problems with axis example

    Hi
    I'm trying to run the example TestClient.java that comes with axis, but I get:
    java.net.ConnectException: Connection refused
    Does anyone know if this server is still running and on the same port (5049) or if there's just something wrong with me.
    Thanks
    hardkxre

    Originally posted by: vladimir.bogus.com
    Hey Vladimir,
    Import org.eclipse.tomcat as a project into your workspace and see how it's
    done in org.eclipse.tomcat.internal.TomcatAppServer - same idea as in onJava
    example and obviously working.
    Vladimir
    "Vladimir Kvassov" <[email protected]> wrote in message
    news:ci5r6d$k3o$[email protected]..
    > Thank you,
    >
    > but this is example, which I'v mentioned in my first message.
    > (it doesn't work under eclipse)
    >
    > "Peter van de Hoef" <[email protected]> wrote in message
    > news:ci4o25$3t9$[email protected]..
    > > Hello Vladimir,
    > >
    > > Here's an article that describes how you can embed Tomcat in another
    > > application:
    > > http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html
    > > I expect that you can apply this in one of your own Eclipse plugins.
    > > (I haven't tried this myself but hope it will work)
    > >
    > > Regards,
    > > Peter van de Hoef
    > >
    > > "Vladimir Kvassov" <[email protected]> wrote in message
    > > news:ci487b$1su$[email protected]..
    > > > Hi
    > > >
    > > > Application, which we develop is based on Eclipse platform,
    > > > and now we need to provide access throug web-services.
    > > >
    > > > Is it possible to start Tomcat in the same VM, as Eclipse?
    > > > So, web services will be able to access classes from
    > > > our application?
    > > >
    > > > Or maybe there is some better ideas?
    > > >
    > > > I found example of starting tomcat from java application,
    > > > but from one side, I'v got problems with Axis, from another
    > > > side, it seems, this this example doesn't work in Eclipse environment.
    > > >
    > > > I'v tryed to use eclipse tomcat wrapper, but I can't understand, how
    > > > it works, and id I can use it at all.
    > > >
    > > > Thank you beforehand.
    > > >
    > > > --
    > > > Best Regards
    > > > Vladimir Kvassov
    > > >
    > > >
    > >
    > >
    >
    >

  • Problems withe transport example

    Hi,
    I'm trying out Oracle lite 10g on Windows XP. I've installed the mobile server with examples and now I want to install the Mobile Client on the Win32 Device. After synchronising I tried to install the transport application. This works without error messages. Then I opend the update-window (I think ist the one in the start-menue) but there is nothing to install. I find no transport.exe on the whole device.
    Then I looked on the Mobile-Server. There are two transport.exe files in the folder <oracle home>\Mobile\Server\samples\Transport\Win32\bin and <oracle home>\mobile_oc4j_\j2ee\home\applications\mobileserver\samles\Transport_win32.
    What's going wrong with my installation?
    Best Regards
    Mark

    Hello Jorge,
    I have the same problem with PPC2002. I posted this problem at September 17th. But nobody replied.
    Problem registering PPC 2000 Client
    The Device can't register with the Device Manager on the Server. I updated the firmware of my client and everything else what I thought could cause the problem.
    What language has the PPC2003 system of your device?
    Perhaps the problem is that only the english PPC2003/2 system is supported. Because I have the german version of PPC2002. Hopefully someone from Oracle or someone else responds to this thread.

  • Problems with SNMP on procurve switches

    Having problems with our Procurve Switches being scanned in Spiceworks.One note I read said I had to enable SSH on each one. I did that the crypto key is there and still a no go. Another note said that I needed SNMP enabled for Spiceworks to read them. So on one switch I ran the commands I got from a HP site for enabling SNMPFrom the config setting in the switchsnmpv3 enableI created the MD5 authentication passwordI created the privacy passwordI created a user that uses SHA and created the passwordI entered the command snmp-server community "public"I entered the command snmp host (IP of Spiceworks) "public" allNow when I type in show snmp-server I see the IP address of Spiceworks and that SNMP is enabled. But when I try to have spiceworks access it. I keep getting Authentication error (Bad password, community or key). I'm not sure what...
    This topic first appeared in the Spiceworks Community

    Hi Mitja, these are forums for the Cisco products.
    You may want to try the HP forums
    http://h30499.www3.hp.com/t5/Networking/ct-p/hp-networking
    -Tom
    Please mark answered for helpful posts

  • Problem with BIB examples

    Hello,
    I have some problems with BIFrame.java (bootstrap project)
    when i try to connect :
    oracle.dss.bicontext.BINamingException: BIB-14736 BIUser does not exist in the BI Beans Catalog.
    However, I used BIBCAT login.
    A solution ?
    Thanks,
    Yann

    hi,
    ensure that in the BIFram.java code the line
    private static final String m_configFile="***.xml";
    contains your .xml configuration file,and that the userName and password in the DAD files are correct

  • Problem with JAAS example in WLS6.0sp1

    Hi,
    I tried to run the SampleClient from the JAAS example in WLS6.0sp1 and got an
    exception
    when a valid username/password combination is entered. Has anyone experienced
    that in WLS6.0sp1?
    Thanx
    Ralf
    SampleLoginModule.initialize(), debug enabled
    SampleLoginModule.initialize(), URL t3://localhost:7001
    SampleLoginModule.login(), username guest
    SampleLoginModule.login(), password guest
    Authentication Failed: Unexpected Exception, java.lang.NoSuchMethodError
         at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:124)
         at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java:157)
         at java.lang.reflect.Method.invoke(Native Method)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
         at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:449)
         at examples.security.jaas.SampleClient.main(SampleClient.java:92)

    Weblogic comes with its own implementation of JAAS, unfortunately
    conflicting with Sun's. Contact customer support, they will tell you the
    exact differences and incompatibilities. Or reverse engineer the two
    versions, you'll find quite a few differences (apart from the BEA version
    not implementing JAAS authorization, which is documented).
    "Narinder Gaheer" <[email protected]> wrote in message
    news:[email protected]..
    I am happy someone came up with this problem. I also bent backwardssolving
    this problem
    in my application.
    I figured out that as soon as I remove the standard jaas.jar from my
    classpath , I can run the example successfully. Weblogic.jar does contain
    necessary jaas library , so don't need to include jaas.jar.
    I am not sure, but I get the feeling that there is a jaas library conflict
    here. May be weblogic
    guys are the best to put some light on this issue.
    "Ralf Fritsche" <[email protected]> wrote in message
    news:3b15188e$[email protected]..
    I found out, that the example runs with the JDK delivered by BEA,
    but not with a JDK I downloaded from SUN.
    Wheras with the first the provided way to set the user defined
    configuration class with the system property'weblogic.security.jaas.Configuration'
    works, this is not possible with another JDK. According to the
    JAAS standard, this class could only be defined in the properties
    file 'java.security' of the Java runtime.
    How is BEA doing this?
    Thanx
    Ralf

  • Problems with JCOM examples

    Sorry for my poor English:-)
    I am a beginner in learning Weblogic Platform(Weblogic Platform7.0 with sp2),and
    now I'm studying the JCOM examples.
    Everything goes on well in the examples of "zeroclient" and "latebound",but there's
    a problem in "earlybound".
    I have succeeded in registering the type library and setting JVM (cmdline:"regtlb
    containerManagedTLB.tlb examplesServer"),and I can find "containerManagedTLB"
    in References of Visual Basic.
    In a word,I think all preparation work is completed.
    But there is a fault when it runs at the line "Set mobjHome = objNarrow.narrow(objTemp,
    "examples.ejb20.basic.containerManaged.AccountHome")".
    =============Let's look at the source code:===================
    Dim mobjHome As containerManagedTLB.ExamplesEjb20BasicContainerManagedAccountHome
    Dim objTemp As Object
    Dim objNarrow As New containerManagedTLB.JCOMHelper
    Set objTemp =
    CreateObject("examplesServer:jndi:ejb20-containerManaged-AccountHome") -->code
    run correctly here
    Set mobjHome =
    objNarrow.narrow(objTemp, "examples.ejb20.basic.containerManaged.AccountHome")-->this
    line is wrong
    ===============================================================
    I don't know where is the problem,and it makes me very painful!
    I need your help,thanks a lot!

    Sorry for my poor English:-)
    I am a beginner in learning Weblogic Platform(Weblogic Platform7.0 with sp2),and
    now I'm studying the JCOM examples.
    Everything goes on well in the examples of "zeroclient" and "latebound",but there's
    a problem in "earlybound".
    I have succeeded in registering the type library and setting JVM (cmdline:"regtlb
    containerManagedTLB.tlb examplesServer"),and I can find "containerManagedTLB"
    in References of Visual Basic.
    In a word,I think all preparation work is completed.
    But there is a fault when it runs at the line "Set mobjHome = objNarrow.narrow(objTemp,
    "examples.ejb20.basic.containerManaged.AccountHome")".
    =============Let's look at the source code:===================
    Dim mobjHome As containerManagedTLB.ExamplesEjb20BasicContainerManagedAccountHome
    Dim objTemp As Object
    Dim objNarrow As New containerManagedTLB.JCOMHelper
    Set objTemp =
    CreateObject("examplesServer:jndi:ejb20-containerManaged-AccountHome") -->code
    run correctly here
    Set mobjHome =
    objNarrow.narrow(objTemp, "examples.ejb20.basic.containerManaged.AccountHome")-->this
    line is wrong
    ===============================================================
    I don't know where is the problem,and it makes me very painful!
    I need your help,thanks a lot!

  • Build problem with Hello1 example.

    Hi,
    I have installed j2ee1.4 and trying to run the j2eetutorial1.4
    I am facing a problem in building the hello1 example.
    1) When I build the hello1 example, the build fails with the following error message
    C:\java-works\j2eetutorial14\examples\web\hello1>asant build
    Buildfile: build.xml
    init:
    prepare:
    copy:
    build:
    [javac] Compiling 2 source files to
    C:\java-works\j2eetutorial14\examples\we
    b\hello1\build
    BUILD FAILED
    file:C:/java-works/j2eetutorial14/examples/web/hello1/build.xml:52:
    C:\java-work
    s\j2eetutorial14\examples\web\hello1\${j2ee.home}\lib not found.
    Total time: 1 second
    2)) Editing the build.proerties file to include the j2ee.home property.When I save the file it gets a .txt extension.Could this cause a problem , while I try to build the examples? if so How can I avoid this?
    Could anyone please help me in this?
    Thanks,
    Ann

    To save the file without .txt extension
    just enclose the file with double quotes
    "build.properties" in the File save dialog box

  • Java EE Tutorial - problem with the example Bookstore

    Hi,
    I've been working few days on a problem running the Bookstore example from the Java EE Tutorial. When I run the application, I'm redirected from the servlet BookStoreServlet to errorpage.html with the following message: The application is unavailable. Please try later. The tutorial troubleshooting reads: ... a servlet can’t retrieve the web context attribute representing the bookstore. This will occur if the database server hasn’t been started. But the database server is running (I'm running Derby bundled into NetBeans 6.5). The Glassfish admin console reads:
    StandardWrapperValve[BookStoreServlet]: PWC1406: Servlet.service() for servlet BookStoreServlet threw exception
    com.sun.bookstore.exception.BookNotFoundException: Couldn't find book: 203
            at com.sun.bookstore1.database.BookDBAO.getBook(BookDBAO.java:58)
            at com.sun.bookstore1.servlets.BookStoreServlet.doGet(BookStoreServlet.java:76)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at com.sun.bookstore1.filters.HitCounterFilter.doFilter(HitCounterFilter.java:71)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)This would indicate that the tables are empty, but they were created according to the tutorial, with the command ant create-tables, and I can see their content in NetBeans. Please help, I really need to run the examples.
    Best regards,
    Rene Puchinger

    I solved the problem running the command that is correctly explained in the page 97 of the tutorial:
    Ant create-tables
    My mistake was that until that day, I was believing that I could do everything inside Netbeans.
    For this you explicitly need to use ant.
    Then I got some error which I solved fixing the file
    C:\Java\JavaEETutorial5\examples\bp-project\ build.properties
    ( like set correctly the path to the server and so on)

  • Some problems with snmp catalyst monitoring (sensor values)

    Good day for all.
    Recently in our company was installed some snmp monitoring tool, so now I try to configure it to collect some OID's information.
    Now i have some bewilderment on some OIS's values:
    1. cswSwitchPowerBudget that's OID is ​1.3.6.1.4.1.9.9.500.1.2.1.1.9. On all Cisco devices (C3750-X,C2950,C2960) that monitored now it's value is correct and equal 230V, but we have one stack of C2960S and it's value is 0!
    2. monitoring of entitySensorMIB get some unclear results, so on all C3750-X the amper sensor show value of 60, but on one of them value is 80. This problemable switch is not stacked and haven't high load and no PoE. Also noise sensors on two C3750-X show over 40dBm, but when i go into rooms they are placed i hear that noice is very low.

    Good day for all.
    Recently in our company was installed some snmp monitoring tool, so now I try to configure it to collect some OID's information.
    Now i have some bewilderment on some OIS's values:
    1. cswSwitchPowerBudget that's OID is ​1.3.6.1.4.1.9.9.500.1.2.1.1.9. On all Cisco devices (C3750-X,C2950,C2960) that monitored now it's value is correct and equal 230V, but we have one stack of C2960S and it's value is 0!
    2. monitoring of entitySensorMIB get some unclear results, so on all C3750-X the amper sensor show value of 60, but on one of them value is 80. This problemable switch is not stacked and haven't high load and no PoE. Also noise sensors on two C3750-X show over 40dBm, but when i go into rooms they are placed i hear that noice is very low.

Maybe you are looking for

  • Need to set height to 100%

    I need to set a web page to be 100 width and 100% height. I've got the width ok, as it's easy, but the height just won't work. I've set a css style to 100% height, but in safari and firefox, it's only 20% or so of the open window. I have a 3x3 table

  • Lumia 822-Denim update, good or bad?

    I downloaded the long awaited windows 8.1 to my lumia 822 this morning but found that it has taken away my ability to take, view, and send pictures. I'm guessing that this is a bug but I'm not sure. Has anyone else had better luck?Lu

  • Is there a way to remove the .lock file programmatically?

    I'm creating a web app with NetBeans, Tomcat and the H2 Database Engine and am having troubles with database errors that seem to be caused by the .lock file existing in the directory where I am storing the database. Is there a way to programmatically

  • Firefox hangs every time I try to clear cookies.

    Started having issues with getting into games, both on Facebook and other sites, starting yesterday. Have been trouble shooting everything, even my Mac IOS with Apple. (Have no trouble with Safari getting to any website.) So I updated to the latest F

  • IPod Nano 6th Generation Won't Eject

    iTunes recognizes my new iPod Nano (6th Generation) and I can add music, playlists, etc.  When I go to eject (both through iTunes or through Finder/desktop), the eject process seems to freeze and the iPod is not completely ejected.  Furthermore, I ha