Servlet communicating with database
Hi ,i need 2 forms (html pages) where i can insert soem data in form1 (3 textfields)and some data(3 textfields) in form2,form1 is cnnected to form 2 with a continue button.then i mapped a java file page1 from form 2 then to database using page1 and dbconnection and started tomcat server.now tomact run succesfully but i am not getting values i inserted in form1 in the database but can get teh values in from2 .after form2 page is directed to javafile url/page therei can see the message as
conn est record inserted null null null software computing eng
also Database showing last 3 column values i.e software, computing ,eng
The more I read your post, the more confused I got. Try to run the forum's built in spellchecker before posting the message.
Similar Messages
-
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? -
Communication with database using TCP sockets connection
Hi all,
I am bit of a newbie when it comes to databases. In a project I realised over te passed few weeks, I communicated with an 11g database using an application I created with VS Express. It uses an ODBC connection. I now want to connect a PLC to the same database. These PLC's don't have the ability to install an ODBC client so I need something different.
I am easily able to open a TCP socket on the PLC and send data from there. I would like to know if I can start a TCP sockets connection with our 11g server and send all queries directly. The other (already suggested) option would be to have the PLC connect to a PC that reads this information and hands it over to the ODBC connector, but that would mean I need an extra PC just to 'translate'.
I have been searching these forums for socket, TCP and more and feel it is possible, but I need a good document as a reference to show/tell me how it's done.
Thanks in advance,
MarijnThe TCP/IP interface to Oracle is undocumented (and hugely complex anyway). You'll need to use a higher layer iterface or setup your own infrastructure.
We need more information about what is available to you inside the PLC.
Can you use Java? If so, perhaps use thin JDBC?
Can you sent HTTP requests? If so you could set up your own Web services to handle this.
If you can only use C or C++, Oracle has interfaces there too.. it's called OCI (Oracle Call Interface) and thats as close to the networking layer as you can get.
Finally if you can use .NET Oracle has a Fully Managed Oracle Data Provider for .NET that you could use.
But if all you can do is super low level network access and none of the above then you will need to set up an intermediary as you mentioned. -
Servlet communication with Java App.
Hi currently I am working on a project in which with the current design I have to implement a servlet, which can communicate to other servlets and/or Java applications via calling their methods. I know that RMI would be ideal for this however, I do not want to have to setup or configure anything on the server end. Another approach I thought of was to extend the abilities of the servlet and Java app to communicate at the "socket" level, however this can cause issues when communicating through a firewall , I am sure there are workarounds. The last thing that I thought of was having the servlet and application communicate via the HTTP protocol and using HTTPMessage to pass arguments. This approach seems to be the easiest but I would have rather liked to access the Object methods of the two applications rather than send args back and forth. Again as mentioned technologies like RMI and CORBA would probably benifit me. While I don't know too much about CORBA I do know that RMI would require administration work which I would not like to deal with mostly b/c of paperwork and red tape.
Any advice would be appreciated.
thank you,
Peyman m.HI,
I think if your client is RMI, then you need to have RMI server running to answer that client.
While here you have servlet as your server side component. So, I think in its orginal form servelet can not reply to RMI implelemnted client.
The best approach I feel for the situatioin described by you is using java based HTTP classes. -
Optimizing communication with database image archive
Hi!
I'm making a java program to show the contents in a image-database which is sorted in folders. I'm displaying this in a DefaultMutableTreeNode model. When you click on a imagefile, it's displayed next to the folders.
I'm wondering if any of you have any ideas how to optimize the communication between the database and the client?
I can't retrieve all the files at once and then display the tree, it could be gb of information.
So I'm wondering if I should send a DB call and get the files for each folder when opened? Or download the names of the files and get every single image clicked with a new DB call?
Or....Any ideas??
Thanks :-)I can't retrieve all the files at once and then
display the tree, it could be gb of information. Just display the image meta-data. What do you need to get all the images themselves for? They don't even provide the information you need for the tree.
So I'm wondering if I should send a DB call and get
the files for each folder when opened? Or download
the names of the files and get every single image
clicked with a new DB call? I'd do the latter. Much faster - otherwise, openeing a big folder takes a looooong time. -
ECart not communicating with database
Hello,
My server has stated that they have created a DSN connection
directly on the
server for me because they do not allow saving to the root
folder of a site.
I have stored the .mdb file in "cgi_bin" under the name
"mydatabases"
They have said that all I need to do is add the following
html code to the
pages that need to connect to the database on the server:
Set myconn = Server.CreateObject("ADODB.Connection")
myconn.open "thehuntingspace_com","",""
I tried entering the above code into the BlueSky Shoe store
examples without success.
The below is the code that is used for eCart in VB. There are
Dim variables
for some of below characters that are pointing to the
"Connections" folder
in my list of files. This is the start of the "home.asp"
doc's html.
BEGINING OF HOME.ASP
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="WA_eCart/WA_eCart_Definition_VB.asp"
-->
<!--#include file="WA_eCart/shoeCart_VB.asp" -->
<!--#include file="Connections/connBlueSky.asp" -->
<%
Dim rsWFeatured
Dim rsWFeatured_numRows
Set rsWFeatured = Server.CreateObject("ADODB.Recordset")
rsWFeatured.ActiveConnection = MM_connBlueSky_STRING
rsWFeatured.Source = "SELECT * FROM Products WHERE
WomanFeatured <> 0"
rsWFeatured.CursorType = 2
rsWFeatured.CursorLocation = 3
rsWFeatured.LockType = 1
rsWFeatured.Open()
rsWFeatured_numRows = 0
%>
<%
The above "MM_connBlueSky_STRING" variable is defined in
"Connections" with
the following code:
CONNECTIONS FOLDER
<%
' FileName="Connection_odbc_conn_dsn.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_connBlueSky_STRING
MM_connBlueSky_STRING = "dsn=BlueSkyData;"
%>
Where do I add:...
Set myconn = Server.CreateObject("ADODB.Connection")
myconn.open "thehuntingspace_com","",""
Also, what part of the begining of "home.asp" and
"Connections" file should
I delete/ change?
I'm posting this in the DW8 forum because I have not received
a response from WebAssist.trying to keep this fresh.
-
Hello
I have Lync 2013 and 2010 , still i didn't finish my migration completely from 2010 to 2013 .this is coexistence environment that contains both Lync Server 2010 and Lync Server 2013 .
There was no error's in my lync 2013 front end and back end server's and every thing was fine, yesterday I installed windows updated AND CU for my lync 2013 front end and backend server's .
later on after restarting both the front end and the back end server's i start having hundred's of these error's related to "LS Call Park Service".
so any advice for these issue ? and what is the effect for these error .
below is the error I got .
The database being used by Group Pickup is not the appropriate version.
The database is not the correct version:
Connection: Data Source=HQ-LYNC2013-BE.aaaaaaaaaaaaaaaaaaaaaaaaaaa\rtc;Initial Catalog=cpsdyn;Integrated Security=True
Expected... SchemaVersion: 1, SprocVersion: 1, UpgradeVersion: 2
Actual... SchemaVersion: 0, SprocVersion: 0, UpgradeVersion: 0
Cause: The database has not been upgraded.
Resolution:
Upgrade the database to CU1.
==============================================================
There was a problem communicating with the Group Pickup backend database.
There were problems accessing SQL server:
Connection: Data Source=HQ-LYNC2013-BE.aaaaaaaaaaaaaaaaaaaaaaaaaa\rtc;Initial Catalog=cpsdyn;Integrated Security=True
Message: The EXECUTE permission was denied on the object 'DbpGetVersionSchema', database 'cpsdyn', schema 'dbo'.
Error code: -2146232060
Error number: 229
Cause: This may be caused by connectivity issues with the backend database.
Resolution:
Check if SQL backend is running and accepts connections from Group Pickup.
=============================================================================
Kind Regards
MKHello
thanks Holger for u r replay .
due to the Microsoft article about the cu :
I run only :
Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN -Verbose
Note In a coexistence environment that contains both Lync Server 2010 and Lync Server 2013 and in which the Central Management Service is located on a Lync Server 2010 pool, do not run the
Install-CsDatabase -CentralManagementDatabase command. If you later move the Central Management Service to a Lync Server 2013 pool, you have to run the
Install-CsDatabase -CentralManagementDatabase command to apply the changes.
here is what I get on my power shell after i run the command : "WARNING: Warning: Failed to execute batch --"
PS C:\Users\MK> Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn HQ-LYNC2013-BE.MyDomain -Verbose
VERBOSE: Creating new log file
"C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.xml".
VERBOSE: Install databases required by Lync Server role(s).
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rtcxds.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.AbsDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rtcab.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsConfigDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rgsconfig.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsDynDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rgsdyn.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.CpsDynDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database cpsdyn.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\arc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database LcsLog.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.MonitoringDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database LcsCDR.
VERBOSE: Assigning "BackendStore:BlobStore:LogPath" to F:\CsData
VERBOSE: Assigning "BackendStore:RtcSharedDatabase:LogPath" to F:\CsData
VERBOSE: Assigning "ArchivingStore:ArchivingDatabase:LogPath" to F:\CsData
VERBOSE: Assigning "MonitoringStore:MonitoringDatabase:LogPath" to F:\CsData
VERBOSE: Assigning "MonitoringStore:QoEMetricsDatabase:LogPath" to F:\CsData
VERBOSE: Assigning "ArchivingStore:ArchivingDatabase:DbPath" to F:\CsData
VERBOSE: Assigning "MonitoringStore:MonitoringDatabase:DbPath" to F:\CsData
VERBOSE: Assigning "MonitoringStore:QoEMetricsDatabase:DbPath" to F:\CsData
VERBOSE: Assigning "ABSStore:AbsDatabase:LogPath" to F:\CsData
VERBOSE: Assigning "ApplicationStore:RgsConfigDatabase:LogPath" to F:\CsData
VERBOSE: Assigning "ApplicationStore:RgsDynDatabase:LogPath" to F:\CsData
VERBOSE: Assigning "ApplicationStore:CpsDynDatabase:LogPath" to F:\CsData
VERBOSE: Assigning "BackendStore:BlobStore:DbPath" to F:\CsData
VERBOSE: Assigning "BackendStore:RtcSharedDatabase:DbPath" to F:\CsData
VERBOSE: Assigning "ABSStore:AbsDatabase:DbPath" to F:\CsData
VERBOSE: Assigning "ApplicationStore:RgsConfigDatabase:DbPath" to F:\CsData
VERBOSE: Assigning "ApplicationStore:RgsDynDatabase:DbPath" to F:\CsData
VERBOSE: Assigning "ApplicationStore:CpsDynDatabase:DbPath" to F:\CsData
VERBOSE: Installing "BackendStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rtcxds.
Checking state for database rtcxds.
State of database rtcxds is DbState_RequiresMinorUpgrade.
Database rtcxds set to mode Restricted.
Dropping all procedures, functions and views from database rtcxds.
Executing RtcDb.sql...
Adding master role...
Setting owner for database rtcxds to sa.
Creating login MyDomain\RTCHSUniversalServices.
Creating user MyDomain\RTCHSUniversalServices.
Creating Schema MyDomain\RTCHSUniversalServices.
Creating login MyDomain\RTCUniversalReadOnlyAdmins.
Creating user MyDomain\RTCUniversalReadOnlyAdmins.
Creating Schema MyDomain\RTCUniversalReadOnlyAdmins.
Creating login MyDomain\RTCUniversalServerAdmins.
Creating user MyDomain\RTCUniversalServerAdmins.
Creating Schema MyDomain\RTCUniversalServerAdmins.
Adding account MyDomain\RTCHSUniversalServices to role ConsumerRole.
Adding account MyDomain\RTCUniversalReadOnlyAdmins to role ConsumerRole.
Adding account MyDomain\RTCHSUniversalServices to role ReplicatorRole.
Adding account MyDomain\RTCHSUniversalServices to role PublisherRole.
Adding account MyDomain\RTCUniversalServerAdmins to role PublisherRole.
Setting database version: Schema Version 15, Sproc Version 13, Update Version 2.
Setting the database rtcxds to multi user mode.
Database rtcxds is set to multi user mode.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rtcshared.
Database created by script "RtcSharedDatabase" already exists and is current.
VERBOSE: Successfully installed the database. For details, see the following log:
"C:\Users\MK\AppData\Local\Temp\2\Create-BackendStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_01].log"
VERBOSE: Installing "ABSStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.AbsDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rtcab.
Checking state for database rtcab.
State of database rtcab is DbState_RequiresMinorUpgrade.
Database rtcab set to mode Restricted.
Dropping all procedures, functions and views from database rtcab.
Executing RtcAbTypes.sql...
WARNING: Warning: Failed to execute batch --
-- Copyright (c) Microsoft Corporation. All rights reserved.
exec sp_addrole N'ServerRole'.
Executing RtcAbDb.sql...
Setting owner for database rtcab to sa.
Creating login MyDomain\RTCComponentUniversalServices.
Creating user MyDomain\RTCComponentUniversalServices.
Creating Schema MyDomain\RTCComponentUniversalServices.
Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
Setting database version: Schema Version 62, Sproc Version 42, Update Version 3.
Setting the database rtcab to multi user mode.
Database rtcab is set to multi user mode.
VERBOSE: Successfully installed the database. For details, see the following log:
"C:\Users\MK\AppData\Local\Temp\2\Create-ABSStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_20].log"
VERBOSE: Installing "ApplicationStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsConfigDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rgsconfig.
Database created by script "RgsConfigDatabase" already exists and is current.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsDynDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database rgsdyn.
Database created by script "RgsDynDatabase" already exists and is current.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.CpsDynDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database cpsdyn.
Checking state for database cpsdyn.
State of database cpsdyn is DbState_RequiresMinorUpgrade.
Database cpsdyn set to mode Restricted.
Dropping all procedures, functions and views from database cpsdyn.
Executing CpsDyn.sql...
Setting owner for database cpsdyn to sa.
Creating login MyDomain\RTCComponentUniversalServices.
Creating user MyDomain\RTCComponentUniversalServices.
Creating Schema MyDomain\RTCComponentUniversalServices.
Creating login MyDomain\RTCUniversalReadOnlyAdmins.
Creating user MyDomain\RTCUniversalReadOnlyAdmins.
Creating Schema MyDomain\RTCUniversalReadOnlyAdmins.
Creating login MyDomain\RTCUniversalServerAdmins.
Creating user MyDomain\RTCUniversalServerAdmins.
Creating Schema MyDomain\RTCUniversalServerAdmins.
Adding account MyDomain\RTCComponentUniversalServices to role ReadWriteRole.
Adding account MyDomain\RTCUniversalServerAdmins to role ReadWriteRole.
Adding account MyDomain\RTCUniversalReadOnlyAdmins to role ReadOnlyRole.
Setting database version: Schema Version 1, Sproc Version 1, Update Version 2.
Setting the database cpsdyn to multi user mode.
Database cpsdyn is set to multi user mode.
VERBOSE: Successfully installed the database. For details, see the following log:
"C:\Users\MK\AppData\Local\Temp\2\Create-ApplicationStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_37].log"
VERBOSE: Installing "ArchivingStore" on HQ-LYNC2013-BE.MyDomain\arc, collocated: False
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\arc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database LcsLog.
Database created by script "ArchivingDatabase" already exists and is current.
VERBOSE: Successfully installed the database. For details, see the following log:
"C:\Users\MK\AppData\Local\Temp\2\Create-ArchivingStore-HQ-LYNC2013-BE.MyDomain_arc-[2014_11_13][14_35_51].log"
VERBOSE: Installing "MonitoringStore" on HQ-LYNC2013-BE.MyDomain\mon, collocated: False
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.MonitoringDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database LcsCDR.
Checking state for database LcsCDR.
Checking state for database LcsCDR.
State of database LcsCDR is DbState_RequiresMinorUpgrade.
WARNING: The database LcsCDR being updated has data file path at
\\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\DbPath\LcsCDR.mdf and supplied data file path is
\\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\DbPath\LcsCDR.mdf. Supplied path will be ignored.
WARNING: The database LcsCDR being updated has log file path at
\\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\LogPath\LcsCDR.ldf and supplied data file path is
\\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\LogPath\LcsCDR.ldf. Supplied path will be ignored.
Database LcsCDR set to mode Restricted.
Dropping all procedures, functions and views from database LcsCDR.
Executing CdrDb.sql...
Setting owner for database LcsCDR to sa.
Creating login MyDomain\CSAdministrator.
Creating user MyDomain\CSAdministrator.
Creating Schema MyDomain\CSAdministrator.
Creating login MyDomain\RTCComponentUniversalServices.
Creating user MyDomain\RTCComponentUniversalServices.
Creating Schema MyDomain\RTCComponentUniversalServices.
Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
Adding account MyDomain\RTCComponentUniversalServices to role ReportsReadOnlyRole.
Adding account MyDomain\CSAdministrator to role ReportsReadOnlyRole.
Setting database version: Schema Version 39, Sproc Version 82, Update Version 2.
Setting the database LcsCDR to multi user mode.
Database LcsCDR is set to multi user mode.
SQL Server Agent is running and its start mode was detected as Auto.
Executing CdrJobs.sql...
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.QoEMetricsDatabase'****
Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 5058.
Sql version is acceptable.
Checking state for database QoEMetrics.
Checking state for database QoEMetrics.
Checking state for database QoEMetrics.
State of database QoEMetrics is DbState_RequiresMinorUpgrade.
WARNING: The database QoEMetrics being updated has data file path at
\\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\DbPath\QoEMetrics.mdf and supplied data file path is
\\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\DbPath\QoEMetrics.mdf. Supplied path will be ignored.
WARNING: The database QoEMetrics being updated has log file path at
\\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\LogPath\QoEMetrics.ldf and supplied data file path is
\\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\LogPath\QoEMetrics.ldf. Supplied path will be ignored.
Database QoEMetrics set to mode Restricted.
Dropping all procedures, functions and views from database QoEMetrics.
Executing QoEDb.sql...
Setting owner for database QoEMetrics to sa.
Creating login MyDomain\RTCComponentUniversalServices.
Creating user MyDomain\RTCComponentUniversalServices.
Creating Schema MyDomain\RTCComponentUniversalServices.
Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
Setting database version: Schema Version 62, Sproc Version 90, Update Version 1.
Setting the database QoEMetrics to multi user mode.
Database QoEMetrics is set to multi user mode.
SQL Server Agent is running and its start mode was detected as Auto.
Executing QoEJobs.sql...
VERBOSE: Successfully installed the database. For details, see the following log:
"C:\Users\MK\AppData\Local\Temp\2\Create-MonitoringStore-HQ-LYNC2013-BE.MyDomain_mon-[2014_11_13][14_35_51].log"
VERBOSE: No changes were made to the Central Management Store.
VERBOSE: Creating new log file
"C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.html".
WARNING: "Install-CsDatabase" processing has completed with warnings. "5" warnings were recorded during this run.
WARNING: Detailed results can be found at
"C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.html".
PS C:\Users\MK>
I hope some one can confirm no issue with what I did ??
Kind Regards
MK -
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 with Database Access!!!
Hi !!!!
I have deployed HelloServlet with Oracle Application Server 4.0.8.1.
Now I want to connect from Servlet to Oracle8i 8.1.5.
But, when I try to deploy a Servlet with Database Access, I receive the next:
"Get operation not allowed"
The URL used is:
http://host.domain:port/virtual_path/class_name
The servlet was compiled using the Sun's jdk from command line. There wasn't compilation errors.
I run a simple application with database access from command line without problems.
The drivers and JDBC libraries are operating for this simple application.
Any help will be appreciated.
Many thanks
SergioIf you are running OAS 4.0.8.1 and Oracle 8.1.5 on the same machine then this could be the problem. These products are not certified to run on the same machine as they give a path conflict.
Hope this helps. -
Communicating with Servlets....
hi!
Wat are all the different ways in which the JSP used to communicate with Servlet?
Thanx,
Rgds,
SasiJsp page communication with Servlets....
web.xml -- Servlets loaded during application startup
struts config -- Servlet mapping (w.r.t struts).
and u can import servlets in jsp and can use it... there are so many possible ways of using servlets coz jsp pages inturn convert into servlets and got executed..... -
Error : There was a problem communicating with the Group Pickup backend database.
Hi ,
I found this error in Event viewer for Every 2 min on lync server 2013 :
There was a problem communicating with the Group Pickup backend database.
There were problems accessing SQL server:
Connection: Data Source=(local)\rtc;Initial Catalog=cpsdyn;Integrated Security=True
Message: The EXECUTE permission was denied on the object 'DbpGetVersionSchema', database 'cpsdyn', schema 'dbo'.
Error code: -2146232060
Error number: 229
Cause: This may be caused by connectivity issues with the backend database.
Resolution:
Check if SQL backend is running and accepts connections from Group Pickup.
what can i do ?Hi,
Did you solve the issue with the help of the suggest Anthony provided above?
If the issue persists, please check if you update the latest vesion of Lync Server 2013. If not, please update it, make sure after install the update for all FE Servers,
then make sure to update BE Server as well. Then rerun Step 2 Setup or remove Lync Server Components.
Here is a similar case may help you:
https://social.technet.microsoft.com/Forums/lync/en-US/3b616e51-93ad-430a-aa93-57c2fd19e0f6/call-pickup-db-issue-after-cu1-update-to-lync-2013-enterprise?forum=lyncdeploy
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Need help with applet servlet communication .. not able to get OutputStream
i am facing problem with applet and servlet communication. i need to send few image files from my applet to the servlet to save those images in DB.
i need help with sending image data to my servlet.
below is my sample program which i am trying.
java source code which i am using in my applet ..
public class Test {
public static void main(String argv[]) {
try {
URL serverURL = new URL("http://localhost:8084/uploadApp/TestServlet");
URLConnection connection = serverURL.openConnection();
Intermediate value=new Intermediate();
value.setUserId("user123");
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setUseCaches(false);
connection.setDefaultUseCaches(false);
// Specify the content type that we will send binary data
connection.setRequestProperty ("Content-Type", "application/octet-stream");
ObjectOutputStream outputStream = new ObjectOutputStream(connection.getOutputStream());
outputStream.writeObject(value);
outputStream.flush();
outputStream.close();
} catch (MalformedURLException ex) {
System.out.println(ex.getMessage());
} catch (IOException ex) {
System.out.println(ex.getMessage());
}servlet code here ..
public class TestServlet extends HttpServlet {
* Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
* @throws ServletException if a servlet-specific error occurs
* @throws IOException if an I/O error occurs
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println(" in servlet -----------");
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
ObjectInputStream inputFromApplet = null;
Intermediate aStudent = null;
BufferedReader inTest = null;
try {
// get an input stream from the applet
inputFromApplet = new ObjectInputStream(request.getInputStream());
// read the serialized object data from applet
data = (Intermediate) inputFromApplet.readObject();
System.out.println("userid in servlet -----------"+ data.getUserId());
inputFromApplet.close();
} catch (Exception e) {
e.printStackTrace();
System.err.println("WARNING! filename.path JNDI not found");
} finally {
out.close();
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println(" in foGet -----------");
processRequest(request, response);
* Handles the HTTP <code>POST</code> method.
* @param request servlet request
* @param response servlet response
* @throws ServletException if a servlet-specific error occurs
* @throws IOException if an I/O error occurs
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.println(" in doPost -----------");
processRequest(request, response);
* Returns a short description of the servlet.
* @return a String containing servlet description
@Override
public String getServletInfo() {
return "Short description";
}// </editor-fold>
}the Intermediate class ..
import java.io.Serializable;
public class Intermediate implements Serializable{
String userId;
public String getUserId() {
return userId;
public void setUserId(String userId) {
this.userId = userId;
}Hi,
well i am not able to get any value from connection.getOutputStream() and i doubt my applet is not able to hit the servlet. could you review my code and tell me if it has some bug somewhere. and more over i want to know how to send multiple file data from applet to servlet . i want some sample or example if possible.
do share if you have any experience of this sort..
Thanks. -
An error occurred while communicating with the database lightswitch
Hi
My Azure project was running just fine. I had made no changes but since yesterday when any user tries to login the get this error message:
"an error occurred while communicating with the database lightswitch"
I found a topic posted by "Mr Yossu" on this topic at
http://social.msdn.microsoft.com/Forums/en-US/lightswitch/thread/655e4f03-d327-40fc-8d3b-8134e91ec2a4
but his situation seems slightly different.
In his case he says "I just updated (ie redeployed) it again, and when I try to log in, I get an error "An error occurred while communicating with the database."
In my case I haven't updated anything.
Any ideas will be greatly appreciated because my system is down until I find a resolution.
Thanks in advance, Mark.
MarkIn checking the helpful suggestion "I guess there is something wrong with the authentication database table", this is what I have done so far.
In the "Database Connections" step of the VS LS Azure publishing wizard, the "Specify the user conection:" is described as:
"This connection will be used by the application to read and write data from the database"
I click the "..." button and click to "Test" the connection and I get "Test connection succeeded".
Next I logged in to SQLAzure and see
this screen.
At this point I'm unsure where to go with this.
If anyone has an idea please let me know.
Thanks, Mark.
Mark -
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 -
Big Problem in Applet-Servlet Communication-(Help)
I wrote an method to send serialized objects from Applet to Servlet,
the method is as following:
private ObjectInputStream postObjects (URL servlet, Serializable objs[], String sessionID) throws Exception {
ObjectInputStream in = null;
ObjectOutputStream out = null;
try{
URLConnection con = servlet.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setRequestProperty("Content-Type","application/x-java-serialized-object");
con.setAllowUserInteraction(false);
con.setRequestProperty("Cookie", sessionID);
out = new ObjectOutputStream(con.getOutputStream());
int numObjects = objs.length;
for(int x = 0; x < numObjects; x++){
out.writeObject(objs[x]);
out.flush();
out.close();
in = new ObjectInputStream(con.getInputStream());
}catch(Exception e){
e.printStackTrace(System.err);
throw e;
}finally{
return in;
when I call this method, I got the following error message in Applet console,
my platform is Salaris 5.8 + iPlanet 6.0.
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2150)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2619)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:726)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:251)
at com.shinewave.lms.core.client.ServletProxy.postObjects(ServletProxy.java:255)
at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:76)
at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
java.lang.NullPointerException
at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:77)
at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
java.lang.NullPointerException
at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:82)
at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
Please help me to solve this problem, thank you very much.Hi..
Sorry abt this. But I was hoping if u could help out on this..
I am trying to implement a applet to servlet communication...
wherin the servlet would read data from the database... and send it back to the applet which gets displayed on the applet...
But the problem is that the applet is not able to establish a connection with the servlet..
I am also using another supportive class whose object is basically passed from the servlet to the applet..
could u help me..
below is the piece of code...
APPLET:
import java.net.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
public class TestApplet extends JApplet implements ActionListener
JButton btnLoad;
JTextField tfEmpno, tfFname, tfLname, tfSalary;
URL url;
private String webServerStr = null;
private String hostName = "sandy";
private int port = 8085;
private String servletPath = "/jdbcTest.DBDetailsServlet";
public TestApplet()
super();
// suppress Warning Message
getRootPane().putClientProperty"defeatSystemEventQueueCheck",Boolean.TRUE);
public void actionPerformed(ActionEvent ae)
if(btnLoad.getText().equals("Load"))
if(loadData())
btnLoad.setText("Save");
else
btnLoad.setText("Load");
// saveData();
public void init()
setBackground(Color.pink);
tfEmpno = new JTextField(10);
tfFname = new JTextField(10);
tfLname = new JTextField(10);
tfSalary= new JTextField(10);
JPanel panel = new JPanel();
panel.setLayout(new FlowLayout());
panel.add(tfEmpno);
panel.add(tfFname);
panel.add(tfLname);
panel.add(tfSalary);
getContentPane().add(panel, BorderLayout.CENTER);
JPanel bottom = new JPanel(new FlowLayout());
btnLoad = new JButton("Load");
btnLoad.addActionListener(this);
bottom.add(btnLoad);
getContentPane().add(bottom, BorderLayout.SOUTH);
public boolean loadData()
try
System.out.println("Web Server host name: " + hostName);
webServerStr = "http://" + hostName + ":" + port + servletPath;
System.out.println("Web String full = " + webServerStr);
String servletGET = webServerStr + "?"
+ URLEncoder.encode("UserOption") + "="
+ URLEncoder.encode("AppletDisplay");
// url = new URL(getCodeBase(),"http://sandy:8080/servlet/jdbcTest.DBDetailsServlet");
System.out.println("Complete Servlet Url => " + servletGET);
url = new URL(servletGET);
URLConnection con = url.openConnection();
con.setUseCaches(false); // Turn off caching.
InputStream in = con.getInputStream();
System.out.println("\nsuccess ....... con.getInputStream() ");
ObjectInputStream ois = new ObjectInputStream(in);
System.out.println("\nsuccess ....... new ObjectInputStream(in) ");
Object object = ois.readObject();
System.out.println("\nGot the object from servlet...");
if(object != null)
System.out.println("\nObject NOT null ...");
ArrayList result = (ArrayList) object;
jdbcTest.EmployeeValue empval = (jdbcTest.EmployeeValue) result.get(0);
tfEmpno.setText(""+empval.getEmp_no());
tfFname.setText(empval.getFname());
tfLname.setText(empval.getLname());
tfSalary.setText(""+empval.getSalary());
System.out.println("\nObject processed " + result);
repaint();
return true;
catch(Exception e)
e.printStackTrace();
System.out.println("\n\n loadData()=> E X C E P T I O N : " + e + "\n");
return false;
public void saveData()
//yet to be implemented..
SERVLEt:
package jdbcTest;
import java.util.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class DBDetailsServlet extends HttpServlet
public void doGet(HttpServletRequest req,HttpServletResponse res )throws ServletException, IOException
System.out.println("\nInside the doGet()\n");
ArrayList results = getDetails();
ObjectOutputStream oos = new ObjectOutputStream(res.getOutputStream());
oos.writeObject(results);
public void doPost(HttpServletRequest req,HttpServletResponse res )throws ServletException, IOException
System.out.println("\nInside the doPost()\n");
doGet(req,res);
public ArrayList getDetails()
try
System.out.println("\nServlet : inside GetDetails...");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:SandyDSN","","");
java.sql.Statement stmt = con.createStatement();
System.out.println("\n Statement created..");
java.sql.ResultSet rs = stmt.executeQuery("SELECT * FROM EMP WHERE EMP_NO = 222");
System.out.println("\n Query Executed...");
ArrayList results = new ArrayList();
while(rs.next())
EmployeeValue empval = new EmployeeValue();
empval.setEmp_no(rs.getLong("EMP_NO"));
empval.setFname(rs.getString("FNAME"));
empval.setLname(rs.getString("LNAME"));
empval.setSalary(rs.getLong("SALARY"));
results.add(empval);
System.out.println("\n Resultset Obtained...");
stmt.close();
con.close();
return results;
catch(Exception e)
System.out.println("Error while retreiving details....." + e);
return null;
public boolean saveDetails(EmployeeValue empval)
try
return true;
catch(Exception e)
System.out.println("Error while updating details....." + e);
return false;
The utility class EMployeeValue is as below:
package jdbcTest;
import java.io.*;
class EmployeeValue implements Serializable
private long emp_no;
private String fname;
private String lname;
private long salary;
public EmployeeValue()
super();
public EmployeeValue(long eno, String fn, String ln,long sal)
super();
setEmp_no(eno);
setFname(fn);
setLname(ln);
setSalary(sal);
public long getEmp_no()
return emp_no;
public java.lang.String getFname()
return fname;
public java.lang.String getLname()
return lname;
public long getSalary()
return salary;
public void setEmp_no(long newEmp_no)
emp_no = newEmp_no;
public void setFname(java.lang.String newFname)
fname = newFname;
public void setLname(java.lang.String newLname)
lname = newLname;
public void setSalary(long newSalary)
salary = newSalary;
Maybe you are looking for
-
Cannot Change Name of Events in IPhoto 08
Recently, IPhotos will no longer allow me to change the names of events. When I click on the "New Event" title I get a dialog box - but I am unable to type anything into the box. Any thoughts on this?? Thanks Dennis
-
Recent increase in spam through iCloud?
For many years my emails received through Apple Mail via iCloud have been virtually spam-free. I put this down to excellent filtering by Apple and my own care. Although my domain name is public and used on my web site, I use a different name in fro
-
I have a magnifying glass shown when my Mac Pro starts, how can I getb rid of thsi?
After my Mac Pro with Apple Lion 10.74 is up and running, a rectngular magnifying glass appeqrs, I want to close this magnifying glas, how can I do it?
-
Installing Solaris 10 on HP ML350 G5 server - No disks found
I get no disks found. I cant find drivers for Smart Array e200i 128Mb v.1.66 (disk controller installed on ML350 G5) on HP site or anywhere else. Has anyone had success in installing Solaris on ML350 G5 server? Help me, please!
-
Page0 item won't display; Error: Item "P0_X" was not displayed
Hello, On Page0 (which is rendered for every page in the app) I have an HTML area with some text (If you encounter any errors, please....) and a few links (email/feedback, etc) defined in a table structure and that displays fine. This is rendered in