Dear all, I have about 80 managed objects (8 types) in my application which have their own status pollers. after awhile nsm works, i get 'Free connection not available' exception. I attached this error and my c3p0 config. so when the transaction failed , the next status poll time is not set, and so status polling stop for ever for that managed object. does <property name="hibernate.c3p0.max_size">15</property> has low count? is there a formula to calculate these configs based on our managed object count and their period of polling? i set status polling period to 30 sec.
I think about to implementing a queue for failed transactions and commit them in a scheduler. is it true?
Dear all, I delete some events manually via HibernateUtils but event browser show them until i press F5 to refresh the panel. How can i refresh this table without any cursor/panel splash. i tried the following code but it causes splash and i think it load all events every time:
Dear all, I have some client that they register themselves via SocketConnection with username as unique key. At server side i want to send a message to all client whom register themselves as said above. In PureServerUtilsFE.clientSocketFE i did not find this method.
Dear all, I implemented client/server communication with a hard coded key. but i want to assign a unique key for every user so they can communicate with server and vise versa.
At first step i tried to use username as unique key but if user login to nms from two pc, so what's happens? At second step i tried to use client IP address as unique key but i could not find any API in NMS at client side to determine the real IP address that client connect via it to server.Is any such API exists? any other solution? what is the mechanism of NMS for it's communications, as seen there are several 'Registering for response' statement at client start up in console which i think via them client register itself for response from the server via the Sockets. so what is the unique key?
Dear all, I want to show password expiration form when user is authenticating and let him to reset his password. in other words, if in verifyCredential method i detected that password is expired, so with which API i can show proper UI and let user reset his password .
Dear all, I read policy framework and fault part of web nms developer and admin guide , but i did not find anything to say which interface / class i should implement/ inherit to execute some action when an alarm is remain in it's state (for example in critical state) for a desired period.
i implemented CustomDataCollection interface (MyCustomDataCollection class) to do some modifications on polled data of agents.
i see when all polled data of an agent are disabled (isActive=false) the canProceedDataCollection method is not invoked for that agent and atleast one polled data must be enabled for that agent.
how can i changed this behavior so that this method be invoked for all agent regardless of their polled data status.
There is ManagedObject named 'A' and it has 4 MO named 'B' in itself. it means A is parent of B.
one MultiplePolledData is created for A and is has 4 instance for B childs. my question is how can i get the name of childs (MangedObject) from their instance number in MultiplePolledData ? or any solution else?
I call a soap web service in BE side. when an exception is thrown by calling a web service, i got this exception:
java.lang.NullPointerException
at org.apache.xalan.transformer.TransformerIdentityImpl.setDocumentLocator(TransformerIdentityImpl.java:823)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.DomLoader$State.<init>(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.DomLoader.startElement(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.ProxyLoader.startElement(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown Source)
at com.sun.xml.internal.ws.message.stream.StreamMessage.readPayloadAsJAXB(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.create(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy34.authenticate(Unknown Source)
at my.BasicTester.main(BasicTester.java:26)
all thing works properly what when an exception thrown in soap server, i do not get proper exception and NPE occurs.
i searched a lot but i just found that it maybe xalan bug. xalan current release is 2.7 but i think WebNMS uses 1.1.
what is the solution?
why WebNMS uses xalan? why not java packages? i read since java 1.4 there is no need to use xalan separately and java support it's fuctionality embedded.
i searched but do not found source code for xalan 1.1.