Java PComm (Communication with mainframe)
Hi All,
In VB or Excel Macros we have set of objects (autECLConnList, autECLPS, etc- Automation Objects for PComm) to communicate with mainframe applications and perform actions.
Eg: Set AEOB = CreateObject("PCOMM.autECLPS")
Set AECL = CreateObject("PCOMM.autECLConnList")
Set AS1 = CreateObject("PCOMM.autECLoia")
AEOB.SetConnectionByName ("a")
AS1.SetConnectionByName ("A")
AEOB.SendKeys "[enter]"
We want to use these objects in java.Please let me know if there is same objects or objects with same functionality available in java.
It would be helpful if some sample code snippets were available?
you don't want to serialize this thing to your C++ server, as the serialization header info would cause it all manner of trouble. You just want to open up a socket and write the bytes out in the proper order. The server will read those bytes, not caring where they came from. All will be well so long as you present them to it in the correct order. Depending on the platform you might have to worry about endian and encoding issues, I can't remember where that gets taken care of.
Good luck
Lee
Similar Messages
-
We are using an evaluation version of Teststand for development. We are using Teststand API in C code to communicate with the Teststand engine and in turn the java process communicates with the C code. But if the Teststand is expired, the java process is killed. Please suggest if there is a solution to stop the killing of java process when the teststand is expired.
Hi geddam,
The fact that the entire application is ending is expected as it is trying to access the TestStand API. Since your evaluation period is over you no longer have an active license and cannot access TestStand. We allow an evaluation period so that someone new to TestStand can evaluate it to determine if they will benefit from the software. However, once you have decided to develop using TestStand, you need to obtain a development license for TestStand. We have several different licenses for TestStand and a specific license to be used for development. The evaluation period should not be used as a time for development but a time to evaluate the software. So, in order for your application to work again, you will need to obtain a license for TestStand software.
Thanks,
Caroline
National Instruments
Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments -
Standard Java class communicating with a servlet
Hey,
I am trying to access a standard java classes member via a servlet class however the data is never received even though the member is visible on compilation. is there something Im doing wrong ?
public class Start {
//lots of stuff
static List<Plug> plugList = Collections.synchronizedList(new LinkedList<Plug>());
//lots more stuff
public class wah extends HttpServlet{
public void doGet( HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException{
doPost(request, response);
public void doPost(HttpServletRequest request,
HttpServletResponse res)throws ServletException, IOException{
res.setContentType("text/html");
PrintWriter out = res.getWriter();
out.println("wahwahwah");
synchronized(Start.plugList){
out.println("pluglist");
Iterator i1 = Start.plugList.iterator();
while (i1.hasNext()) {
Plug oldPlug = (Plug)i1.next();
out.println("PLug : " + oldPlug.getaddress64());
}//doPost
}Don't post all your code. Instead, make a simplified version of the code that demonstrates what your problem is and that we could compile and see what is going on. Make it as simple as possible but still demonstrating the problem.
Who knows, when you make the SSCCP (small, self contained, compileable program) you will find your mistake as well.
But without seeing any code all I can say is that the date you are accessing in the list has not been made available when you try to get it from the servlet. Perhaps the servlet call is blocking the other threads from accessing the list to put data into it, perhaps the other threads haven't begun working yet, perhaps the list you give to the servlet isn't the same list (but instead a copy of the list) that the data is being entered into, or many other reasons.
One thing I would assume you need to do, since the Servlet is the data consumer, you need to make sure the data has been entered before the servlet tries to read it. The best way to do that is to put a wait() in the servlet code so that it knows it can't do anything until the producers are finished. Then the producers would add a notify() to tell the servlet to go ahead and display the data.
So some modification might be:
public class Start {
//lots of stuff
static List<Plug> plugList = Collections.synchronizedList(new LinkedList<Plug>());
//marker to let servlet know that it can consume data
private static boolean done = false;
//producers call this method when list is ready for use
static void setReadyToConsume() { done = true; }
//servlet calls this to check if the list is ready
public static boolean isReadyToConsume() { return done; }
//lots more stuff
public void doPost(HttpServletRequest request,
HttpServletResponse res)throws ServletException, IOException{
res.setContentType("text/html");
PrintWriter out = res.getWriter();
out.println("wahwahwah");
synchronized(Start.plugList){
//Hold off trying to use list until list is ready
while (!Start.isReadyToConsume()) {
try {
Start.plugList.wait();
} catch (InterruptedException ie) {
log("Waiting for Plugs to be ready interrupted. Continuing to wait.");
log(ie.getMessage(), ie);
out.println("pluglist");
Iterator i1 = Start.plugList.iterator();
while (i1.hasNext()) {
Plug oldPlug = (Plug)i1.next();
out.println("PLug : " + oldPlug.getaddress64());
}//doPostAnd don't forget to add a Start.plugList.notify() or Start.plugList().notifyAll() in the producer code after it calls the setReadyToConsume() method. -
Java Thread communication with web browser
Hi All,
I am facing a kind of problem, which i dont know if its a bug or the configuration setting in the web browser
I have opened a server socket connection, that listens to a request coming from the browser(i.e the URL) and when request comes a new thread is being created..
The problem is that when I enter a URL in the browser, it is being received by the socket but the thread runs into an infinite loop,for a specific period of time..
What could be the problem,
any help shall be appreciated..Most likely It's browser, some browsers open multiple connection to the server, for performance reasons. IE does it, try other browsers and see.
-
sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.
sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
I want to pass along a couple of tips that will get you more and better response on this list.
1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
4) If you have a question first search the examples for something tha
t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
Trying to help,
Welcome to the forum!
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Java.lang.InstantiationException: Error communicating with server:
Hello everybody, I am an easy Helloworld application, the deploy is fine, but when I execute the client it appears the next error:
java.lang.InstantiationException: Error communicating with server: Lookup error:
java.net.ConnectException: Connection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect; nested exception
is:
javax.naming.NamingException: Lookup error: java.net.ConnectException: C
onnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.evermind.server.ApplicationClientContext.createContext(Applicatio
nClientContext.java:300)
at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(ApplicationClientInitialContextFactory.java:190)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at hello.HelloClient.main(HelloClient.java:33)
NamingException: Error reading application-client descriptor: Error communicatin
g with server: Lookup error: java.net.ConnectException: Connection refused: conn
ect; nested exception is:
java.net.ConnectException: Connection refused: connect; nested exception
is:
javax.naming.NamingException: Lookup error: java.net.ConnectException: C
onnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
This is my application client:
// HelloClient.java
package hello;
import javax.ejb.*;
import javax.naming.*;
import javax.rmi.PortableRemoteObject;
import java.io.*;
import java.util.*;
import java.rmi.RemoteException;
* A simple client for accessing an EJB.
public class HelloClient
public static void main(String[] args)
System.out.println("client started...");
try {
// Initial context properties are set in the jndi.properties file
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
env.put(Context.PROVIDER_URL, "ormi://ecd11107.eadscasa.casa.corp:23791/helloworld");
env.put(Context.SECURITY_PRINCIPAL, "admin");
env.put(Context.SECURITY_CREDENTIALS, "123");
Context context = new InitialContext(env);
// This for use with com.evermind.server.rmi.RMIInitialContextFactory
//Object homeObject = context.lookup("HelloBean");
// This is for use with com.evermind.server.ApplicationClientInitialContextFactory
Object homeObject = context.lookup("java:comp/env/Helloworld");
// Narrow the reference to HelloHome.
HelloHome home =
(HelloHome) PortableRemoteObject.narrow(homeObject, HelloHome.class);
System.out.println("hello home");
// Create remote object and narrow the reference to Hello.
Hello remote =
(Hello) PortableRemoteObject.narrow(home.create(), Hello.class);
System.out.println(remote.sayHello("James Earl"));
} catch(NamingException e) {
System.err.println("NamingException: " + e.getMessage());
} catch(RemoteException e) {
System.err.println("RemoteException: " + e.getMessage());
} catch(CreateException e) {
System.err.println("FinderException: " + e.getMessage());
Can somebody helps me ???Thank you, but don�t work well yet. I checked the files orion-application.xml & principals.xml in the directory C:\servOracle\oracle\j2ee\home\application-deployments\helloworld but the result is the same, when I run the client the next error appears:
NamingException: Lookup error: javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details; nested exception is:
javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details
This is my orion-application.xml
<?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
<orion-application deployment-version="9.0.4.0.0" default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
<ejb-module remote="false" path="helloworld-ejb.jar" />
<web-module id="helloworld-web" path="helloworld-web.war" />
<client-module path="helloworld-client" deployment-time="fce4439997" auto-start="false" />
<persistence path="persistence" />
<principals path="principals.xml" />
<jazn provider="XML" location="jazn-data.xml" />
<log>
<file path="application.log" />
</log>
<namespace-access>
<read-access>
<namespace-resource root="">
<security-role-mapping name="<jndi-user-role>">
<group name="users" />
</security-role-mapping>
</namespace-resource>
</read-access>
<write-access>
<namespace-resource root="">
<security-role-mapping name="<jndi-user-role>">
<group name="users" />
</security-role-mapping>
</namespace-resource>
</write-access>
</namespace-access>
</orion-application>
And this is my principals.xml
<?xml version="1.0"?>
<!DOCTYPE principals PUBLIC "//ORACLE//DTD OC4J Principals 9.04//EN" "http://xmlns.oracle.com/ias/dtds/principals-9_04.dtd">
<principals>
<groups>
<group name="users">
<description>users</description>
<permission name="rmi:login" />
</group>
<group name="guests">
<description>guests</description>
</group>
<group name="administrators">
<description>administrators</description>
<permission name="administration" />
</group>
</groups>
<user username="admin" password="ADMIN">
<description>The default administrator</description>
<group-membership group="administrators" />
<group-membership group="guests" />
<group-membership group="users" />
</user>
<user username="SCOTT" password="TIGER">
<description>no description</description>
<group-membership group="users" />
<group-membership group="administrators" />
</user>
</principals>
Thanks in advance, please help me.... -
VB Client communicating with a Java servlet
Hi,
I have a java servlet and I would like to have a VB application communicating with the servlet.
Can I do it ? and if yes, how to do it.
Thanks in anticipation,
AyanaThe VB client can open an internet or Http connection to the servelet, send a request and parse the response. We've done it here but I don't know exactly which ActiveX control the VB guy uses.
Also look into using webservices. -
Servlet Communication with Java WebStart
Hi there,
we have an application that works fine with Java WebStart whenever we start it in a local area network. But from outside the LAN the application cannot communicate to it's servlets. I use the codebase IP address with the servlet runner's port (http://<codebase IP>:port/) as URL for servlet communication, but the application's request never reaches the servlets.
My question is now, if anyone had the same or a similar problem with servlet communication using Java WebStart, or if anyone knows, if that might be a problem with proxy configuration.
The servlet runner we use, is JServ from Sun (JSDK2.0) and the webserver where it is running on is not behind a firewall or a proxy, but the client PC with the web start application is.
Thanks,
KatjaThank you for your early reply. But I think, that's not the problem.
I get no security error and the webserver is identified the same way it is in the jnlp file. Also my application is not running in the Sandbox. My assumption is, that the http-request to the servlet does not go through the proxy server between my PC and the PC the servletrunner is running on.
I wonder if I have to configure my application to use a proxy server for communication with the servlets instead of the direct http-request to the servlet runner? -
Error in Communicating with DCA Server
Hi,
I have Cisco LMS 2.6 and next modules:
1. CiscoWorks Common Services 3.0.6
2. Campus Manager 4.0.13
3. CiscoView 6.1.5
4. Device Fault Manager 2.0.13
5. Internetwork Performance Monitor 2.6.0
6. Integration Utility 1.6.0
7. Resource Manager Essentials 4.0.6
Windows Server 2003 SE SP2
I have some problems:
1)
When I try enter to Device and Credentials I get message "Error in communicating with DCA Server.
DCA Server may be down. Please start the DCA Server and then refresh the page."
I try to restart CiscoWorks Daemon Manager over Services.
I cannot get information a lot of time from command "pdshow". Only black screen on the window CMD.
Or I get error
C:\Documents and Settings\zykov>pdshow
ERROR: GetReply failed:
ERROR: Daemon Manager startup in progress. Please wait.
dcr.log
[ Чт фев 18 16:51:28 YEKT 2010 ] [Ajp13Processor[9009][4]] FATAL com.cisco.nm.dcr.DCRProxy - Error in Communication to DCRServer , Reason :DCRException ID - -202 : CSTM Error Code [-1] CSTM Comm Type [0] - Unknown exception before invocation
[ Чт фев 18 20:32:35 YEKT 2010 ] [Ajp13Processor[9009][3]] FATAL com.cisco.nm.dcr.DCRDatabaseAccess - Severe error in DCRDatabaseAccess initialization - JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s). 0 JZ00L
[ Чт фев 18 20:32:35 YEKT 2010 ] [Ajp13Processor[9009][3]] FATAL com.cisco.nm.dcr.DCRSystem - Unable to Instantiate DCRDataManagement ObjectJZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
DCRServer.log
[ Thu Feb 18 21:10:41 YEKT 2010 ] Starting DCR Server...
[ Thu Feb 18 21:10:43 YEKT 2010 ] No restore has happened
dcrclient.log
[ Чт фев 18 20:50:49 YEKT 2010 ] [Ajp13Processor[9009][5]] FATAL com.cisco.nm.dcr.DCRProxy - Error in Communication to DCRServer , Reason :DCRException ID - -202 : CSTM Error Code [-1] CSTM Comm Type [0] - Unknown exception before invocation
2) When I run Alerts and Activites I get error "An exception occurred. Please check the AAD.log file for further details."
AAD.log
18-фев-2010|21:30:10.291|ERROR|AAD|Ajp13Processor[9009][3]|AFDLaunchAction|perform|.|Error in calling getPartitionNamePMServercom.cisco.nm.xms.ctm.common.CTMException: Read timed out/Error in received response Connection reset
3) On the window Home of Common Services I have message "JRM server is down or inaccessible for this user"
I try reinstall last modules Campus Manager 4.0.13,
Device Fault Manager 2.0.13,
CiscoWorks Common Services 3.0.6.
But it cannot help me.
I think that this problems related. Yesterday all works correctly.
Thank you for your help.You are right the problem was related with antivirus.
After removal antivirus DCA Server started successfully.
Remains the question as to be without an antivirus program?
Also remains a problem in the window Alerts and Activites.
When I click on the Device Name field (for some devices) does not open Detailed Device View.
The window closes immediately after opening. -
Error in communicating with Group Administration Server
Hello everyone, i am requesting your help for an issue with LMS 4.2.5
When i browse to Admin-> Group Management -> Fault.
I get the following:
OGS Server Error
Error
Error in communicating with Group Administration Server.
It may be down or not yet up. Please make sure that the Group Administration Server is up and running, then refresh the page.
here is the pdshow output
pdshow
Process= ESS
State = Program started - No mgt msgs received
Pid = 5536
RC = 0
Signo = 0
Start = 10/31/14 14:13:21
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EssMonitor
State = Running normally
Pid = 5567
RC = 0
Signo = 0
Start = 10/31/14 14:13:25
Stop = Not applicable
Core = Not applicable
Info = ESS is fully up now !
Process= EventFramework
State = Program started - No mgt msgs received
Pid = 5584
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= SyslogCollector
State = Running normally
Pid = 5585
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = SyslogCollector Started at Fri Oct 31 14:13:28 CST 2014
Process= RMEDbEngine
State = Program started - No mgt msgs received
Pid = 5586
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= FHDbEngine
State = Program started - No mgt msgs received
Pid = 5663
RC = 0
Signo = 0
Start = 10/31/14 14:13:30
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EPMDbEngine
State = Program started - No mgt msgs received
Pid = 5696
RC = 0
Signo = 0
Start = 10/31/14 14:13:34
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EPMServer
State = Running normally
Pid = 5729
RC = 0
Signo = 0
Start = 10/31/14 14:13:38
Stop = Not applicable
Core = Not applicable
Info = EPMServer is up and running
Process= AdapterServer
State = Program started - No mgt msgs received
Pid = 5748
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= AdapterServer1
State = Program started - No mgt msgs received
Pid = 5749
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= FHServer
State = Running normally
Pid = 5750
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = FHServer started.
Process= INVDbEngine
State = Program started - No mgt msgs received
Pid = 5751
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= PMServer
State = Running normally
Pid = 5936
RC = 0
Signo = 0
Start = 10/31/14 14:13:46
Stop = Not applicable
Core = Not applicable
Info = PMServer is up and running
Process= IpmDbEngine
State = Program started - No mgt msgs received
Pid = 5960
RC = 0
Signo = 0
Start = 10/31/14 14:13:50
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMDbEngine
State = Program started - No mgt msgs received
Pid = 5993
RC = 0
Signo = 0
Start = 10/31/14 14:13:54
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMDbMonitor
State = Running normally
Pid = 6026
RC = 0
Signo = 0
Start = 10/31/14 14:13:58
Stop = Not applicable
Core = Not applicable
Info = DbMonitor Running Normally.
Process= ANIDbEngine
State = Program started - No mgt msgs received
Pid = 6027
RC = 0
Signo = 0
Start = 10/31/14 14:13:59
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= MACUHIC
State = Running normally
Pid = 6055
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= UTLITE
State = Running normally
Pid = 6056
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= FDRewinder
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= CmfDbEngine
State = Program started - No mgt msgs received
Pid = 6057
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CmfDbMonitor
State = Running normally
Pid = 6183
RC = 0
Signo = 0
Start = 10/31/14 14:14:08
Stop = Not applicable
Core = Not applicable
Info = DbMonitor Running Normally.
Process= DfmBroker
State = Running normally
Pid = 6190
RC = 0
Signo = 0
Start = 10/31/14 14:14:09
Stop = Not applicable
Core = Not applicable
Info = DfmBroker is running normally
Process= DfmServer
State = Running normally
Pid = 6322
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = DfmServer initialized OK.
Process= DfmServer1
State = Running normally
Pid = 6323
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = DfmServer1 initialized OK.
Process= DFMLogServer
State = Program started - No mgt msgs received
Pid = 6324
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DFMCTMStartup
State = Administrator has shut down this server
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 11:55:05
Stop = 11/03/14 11:55:05
Core = Not applicable
Info = Application started by administrator request.
Process= FHPurgeTask
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 00:00:00
Stop = 11/03/14 00:00:44
Core = Not applicable
Info = DPS Task FHPurgeTask completed at Mon Nov 03 00:00:44 CST 2014. For status check Job Browser UI.
Process= DFMMultiProcLogger
State = Program started - No mgt msgs received
Pid = 6327
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CSDiscovery
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= DCRDevicePoll
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 09:15:02
Stop = 11/03/14 09:15:50
Core = Not applicable
Info = Application started by administrator request.
Process= CSRegistryServer
State = Running normally
Pid = 6328
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = CSRegistryServer is running
Process= Tomcat
State = Program started - No mgt msgs received
Pid = 6330
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TomcatMonitor
State = Running normally
Pid = 6670
RC = 0
Signo = 0
Start = 10/31/14 14:14:17
Stop = Not applicable
Core = Not applicable
Info = Tomcat Server up
Process= Apache
State = Running normally
Pid = 7183
RC = 0
Signo = 0
Start = 10/31/14 14:16:02
Stop = Not applicable
Core = Not applicable
Info = Web Server initialized ok.
Process= DCRServer
State = Running normally
Pid = 7204
RC = 0
Signo = 0
Start = 10/31/14 14:16:06
Stop = Not applicable
Core = Not applicable
Info = DCRServer is up and running
Process= CMFOGSServer
State = Program started - No mgt msgs received
Pid = 7257
RC = 0
Signo = 0
Start = 10/31/14 14:16:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TISServer
State = Program started - No mgt msgs received
Pid = 7258
RC = 0
Signo = 0
Start = 10/31/14 14:16:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DFMOGSServer
State = Program started - No mgt msgs received
Pid = 7323
RC = 0
Signo = 0
Start = 10/31/14 14:16:16
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NOSServer
State = Running normally
Pid = 7375
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = NOSServer is up and running
Process= PTMServer
State = Running normally
Pid = 7376
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = Started Successfully
Process= InventoryCollector
State = Running normally
Pid = 7377
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = InventoryCollector is up and running
Process= Interactor
State = Program started - No mgt msgs received
Pid = 7496
RC = 0
Signo = 0
Start = 10/31/14 14:16:24
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= InventoryCollector1
State = Program started - No mgt msgs received
Pid = 7497
RC = 0
Signo = 0
Start = 10/31/14 14:16:24
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= Interactor1
State = Program started - No mgt msgs received
Pid = 7589
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMProcess
State = Running normally
Pid = 7590
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = UPMProcess started successfully.
Process= UTManager
State = Running normally
Pid = 7591
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= EssentialsDM
State = Running normally
Pid = 7592
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = RME Device Management started.
Process= ICServer
State = Running normally
Pid = 7730
RC = 0
Signo = 0
Start = 10/31/14 14:16:31
Stop = Not applicable
Core = Not applicable
Info = ICServer started.
Process= EnergyWise
State = Running normally
Pid = 7923
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = EnergyWise Process is running normally Fri Oct 31 14:16:45 CST 2014
Process= PMCOGSServer
State = Program started - No mgt msgs received
Pid = 7924
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= ConfigMgmtServer
State = Running normally
Pid = 7925
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = DCMA is running normally Fri Oct 31 14:17:02 CST 2014
Process= ConfigUtilityService
State = Running normally
Pid = 7926
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = ConfigUtilityService started.
Process= CAAMServer
State = Running normally
Pid = 7927
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = CAAMServer started.
Process= VNMServer
State = Program started - No mgt msgs received
Pid = 7928
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= WlseUHIC
State = Running normally
Pid = 7929
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= IPMOGSServer
State = Program started - No mgt msgs received
Pid = 7940
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TopoServer
State = Program started - No mgt msgs received
Pid = 7941
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= LicenseServer
State = Program started - No mgt msgs received
Pid = 7942
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NameServer
State = Program started - No mgt msgs received
Pid = 7946
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NameServiceMonitor
State = Program started - No mgt msgs received
Pid = 8205
RC = 0
Signo = 0
Start = 10/31/14 14:16:39
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EDS
State = Running normally
Pid = 8290
RC = 0
Signo = 0
Start = 10/31/14 14:16:43
Stop = Not applicable
Core = Not applicable
Info = Initialization complete
Process= ANIServer
State = Running with busy flag set
Pid = 8768
RC = 0
Signo = 0
Start = 10/31/14 14:17:14
Stop = Not applicable
Core = Not applicable
Info = ANIServer started.
Process= UTMajorAcquisition
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 10:00:00
Stop = 11/03/14 10:14:13
Core = Not applicable
Info = Application started by administrator request.
Process= EDS-GCF
State = Running normally
Pid = 8807
RC = 0
Signo = 0
Start = 10/31/14 14:17:18
Stop = Not applicable
Core = Not applicable
Info = GCF Initialization complete at Fri Oct 31 14:17:53 CST 2014
Process= jrm
State = Running normally
Pid = 8808
RC = 0
Signo = 0
Start = 10/31/14 14:17:18
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DataPurge
State = Administrator has shut down this server
Pid = 0
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = 10/31/14 14:19:11
Core = Not applicable
Info = DataPurge initialization completed at Fri Oct 31 14:19:11 CST 2014.
Process= IPMProcess
State = Program started - No mgt msgs received
Pid = 9155
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CTMJrmServer
State = Running normally
Pid = 9156
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = Not applicable
Core = Not applicable
Info = CTMJrmServer started.
Process= SyslogAnalyzer
State = Running normally
Pid = 9246
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = SyslogAnalyzerService Started at Fri Oct 31 14:18:35 CST 2014
Process= ChangeAudit
State = Program started - No mgt msgs received
Pid = 9247
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 1014
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1965
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1964
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 2360
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3056
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3104
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1001
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3177
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3206
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1015
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1524
State = Program started - No mgt msgs received
Pid = 21804
RC = 0
Signo = 0
Start = 11/02/14 19:00:00
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 3306
State = Program started - No mgt msgs received
Pid = 17433
RC = 0
Signo = 0
Start = 11/03/14 11:37:17
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 1005
State = Running normally
Pid = 19289
RC = 0
Signo = 0
Start = 11/03/14 12:00:00
Stop = Not applicable
Core = Not applicable
Info = 1005 started.
Process= diskWatcher
State = Program started - No mgt msgs received
Pid = 9249
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Thanks in advance for your help.
Best regards.Also when i click the alarms bar that is sitting in the bottom right i got these in DFMOGSServer.log
[ Thu Nov 06 15:25:37 CST 2014 ] ERROR com.cisco.nm.xms.ogs.kilner10.KilnerEventConsolidator makeEvent - MAKE CONSOLIDATED_DFMOGS_EVENT: 9 data:
[ Thu Nov 06 15:25:46 CST 2014 ] FATAL com.cisco.nm.xms.ogs.server.OGSServer main - Exception while OGS Server start up: CTMRegistryClient::addNewURNEntry URN : ogs_server_urn ErrMsg : URN already in use
com.cisco.nm.xms.ogs.util.OGSException: CTMRegistryClient::addNewURNEntry URN : ogs_server_urn ErrMsg : URN already in use
at com.cisco.nm.xms.ogs.server.OGSImpl.publishURN(OGSImpl.java:1396)
at com.cisco.nm.xms.ogs.server.OGSServer.main(OGSServer.java:73)
[ Thu Nov 06 15:31:54 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:31:54 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Unreachable Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() Got 9 devices from TIS
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Unmanaged Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Suspended Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() Got 0 devices from TIS
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
Don´t know much about databases, but it seems im missing some important tables or data -
Error in communicating with DCR Server. in LMS 3.1
I am receiving this error when I try to ad device: Error in communicating with DCR Server.
DCR Server may be down. Please start the DCR Server and then refresh the page.
The DCRserver is running. ( I did restart it)
I am using Windows version of LMS 3.1
CiscoWorks Common Services 3.2.0 Licensed Not applicable
Campus Manager 5.1.4 Purchased 300
CiscoView 6.1.8 Licensed Not applicable
CiscoWorks Assistant 1.1.0 Licensed Not applicable
Device Fault Manager 3.1.3 Purchased 300
Internetwork Performance Monitor 4.1.0 Purchased 300
Integration Utility 1.8.0 Licensed Not applicable
LMS Portal 1.1.0 Licensed Not applicable
Resource Manager Essentials 4.2.0 Purchased 300
Health and Utilization Monitor 1.1.0 Evaluation(Expired) 100Hi,
This issue most likely is related to a communication problem with the database or a corruption as we can see from the logs :
2010/11/21 19:44:41 main ani ERROR POStore: Failed resolving object because: java.lang.NullPointerException
2010/11/21 19:44:41 main ani ERROR AniMain: java.lang.NullPointerException
ANI Server failed to load from the database.
Please stop and restart the system. You may need to re-initialize the database.
If this does not work, please contact technical support.
The next step is to re-initialize the Campus Manager database. This procedure will delete all the records and maps that you have in Campus Manager, you would need to run a new Campus Data Collection and User Tracking Acquisition to have clean and fresh database information.
If that ok with you, you can try the below steps to re-initialize the Campus database. By doing this, it will not effect any other database of LMS will clean Campus Manager database.
+) Stop the daemon manager:
net stop crmdmgtd
+) cd CSCOpx\bin\
+) Type the following command (case sensitive):
perl dbRestoreOrig.pl dsn=ani dmprefix=ANI
+) Start the daemon manager:
net start crmdmgtd
Now, wait another 15 minutes and wait for dmgtd.lock file to release from location CSCOpx\objects\dmgtd\ready.
Now check the status of ANIServer with command :- pdshow ANIServer ( case sensitive)
it should have the status Busy with Flag set.
Thanks,
Gaganjeet -
Java- Stored Procedure with Call by Result
Hi Oracle-Community,
I am looking for some example Code how to use a Java-Stored Procedure with Out-Parameters. Don't get me wrong. I dont want to call a Procedure with Out Parameters from Java (there are a lot of examples for this out there) . I just want to implement the Call by Result concept in a Java-Stored Procedure. A Client will call this Procedure with some parameters and the Java Procedure will fill them. So my first question: is this possible? And my second Question: How to implement it?
Greetings.I found out a solution. It is very simple.
Just defining the parameters as java array (e.g. String[] P1). The first value (P1[0]) is the returned value.
At last just set in JDeveloper in the "Edit Method Signature" Dialog the parametermode to OUT.
The dialog can be found by rightclicking on the stored procedure in the dbexport file. You can read this
in Section 6 Publishing Java Classes With Call Specifications -> Setting Parameter Modes in
Oracle Database Java Developer's Guide. -
Problem download: Java serial communication
Hi,
I need to work with Java serial communication api for Windows.
As mentioned on SUN site, downloaded the following:
1) comm2.0.3.zip, &
2) rxtx-2.0-7pre1-i386-pc-mingw32.zip
Extracting, unable to see win32com.dll & javax.comm.properties
Can you help me?
Thanks,
PriyaHi priya
There is problem in your downloaded s/w
Download commAPI once again then try
Read the readme file and follow the instruction -
Problems uninstalling Forte for java 4 community edition
I just installed Forte for java 4 community edition at work, and when i tried to uninstalled it with add/remove programs from control panel. And the uninstall wizard start but then a Sun window apper and it is written, uninstalling and the uninstall program seems to be frozen.
i have the same problem, reading the documentation it seems you got to run the installer again and you ll get prompted with the "file deletion confirmation"
too bad i have a self-installing package and i don't get the prompt...
guesses anyone? -
TCP/IP communication with remote host
Hey guys,I wrote a class for TCP/IP communication with remote host.I am trying to use this class in following way:Its not working.One thing I am not sure about if I can give IP address of the machine while creating a socket.Please take a look at my program and let me know where i am doing wrong.Help me!
CommunicationAgent commAgent;
commAgent= new TCPIPCommAgent();
writer = commAgent.getWriter("CASS");
/* Send GC request message to CASS */
writer.print(searchduedateRequestMsg);
/* Get reader object to read TCP IP response from CASS */
reader = commAgent.getReader("CASS");
/* Read response message */
String respMsg = reader.readLine();
if(respMsg!=null)
System.out.println("Search due date Response from CASS is:" +respMsg);
else
System.out.println("Error in reading search due date response");
and here is my class responsible for TCP/IP communication:
* Created on Jul 15, 2004
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
package com.prtc.commif.framework;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.Properties;
import com.prtc.commif.framework.interfaces.CommunicationAgent;
import com.prtc.commif.util.InputResources;
* @author spolireddy
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
public class TCPIPCommAgent implements CommunicationAgent
public BufferedReader getReader(String system)
InputResources inputResources = new InputResources();
Properties props=inputResources.getProperties(system + ".properties");
Socket socket=null;
BufferedReader in=null;
//Get this from the properties
String hostName = "113.132.192.21";
//Get this from the properties
int port = 10103;
try
socket = new Socket(hostName, port);
in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
catch (UnknownHostException e)
System.err.println("Unable to identify the Host: " + hostName + ":" + port);
System.exit(1);
catch (IOException e)
System.err.println("Couldn't get I/O for the connection to: " + hostName + ":" + port);
System.exit(1);
return in;
public PrintStream getWriter(String system)
InputResources inputResources = new InputResources();
Properties props=inputResources.getProperties(system + ".properties");
Socket socket=null;
PrintStream out=null;
//Get this from the properties file
String hostName = "113.132.192.21";
//Get this from the properties file
int port = 10103;
try
socket = new Socket(hostName, port);
out = new PrintStream(socket.getOutputStream(), true);
catch (UnknownHostException e)
System.err.println("Unable to identify the Host: " + hostName + ":" + port);
System.exit(1);
catch (IOException e)
System.err.println("Couldn't get I/O for the connection to: " + hostName + ":" + port);
System.exit(1);
return out;Hi,
Yes, you can specify ip-address as host-address.
What do you expect the class to do? Why does reader and writer both open sockets?
What happens when you run the program?
/Kaj
Maybe you are looking for
-
Hi Sapients, Here we are using 6.0 version.In that cheque printing is not possible. I think Standard forms are wrong.So can any body plz tell me the standard forms for Payment Advice ( in Paying Co.cd) - I used F110_D_AVIS Payment medium P
-
Certified Copy of Oracle Certified Professional Certification
I would like to request this to be sent to my lawyers. What is the process/cost involved? Thanks for your time.... Seethem
-
Ipod/laptop connection issue.
Basically my computer wont detect my ipod at all. The Ipod isnt new i got it last christmas, its an ipod touch 16gb. It worked up until i rebooted my computer and reinstalled itunes. My ipod still has everything on it but it wont detect with my compu
-
Photoshop Album Starter Edition Ausdrucke
Obwohl ich sämtliche Einstellungen im Druckermenu von Photoshop Album Starter Edition auf besten Fotodruck stelle, werden die Bilder nur in schlechter sumpfiger Qualität,dafür aber schnell, gedruckt. Ein perfekter Ausdruck ist weder beim Drucken eine
-
SPL Entry posting through the transaction GB01
Hi All, I have a requirement where I am uploading SPL entries as a file to the program where the entries has to be posted through GB01transaction.My queries: 1. Kindly let me know is there any BAPI for GB01 to post 2. I have to confirm posting succes