JBOSS: Monitoring of Database connections
Hi,
I am new to JBoss, priorly I used to work on weblogic.
In weblogic we have a feature of how many database connections we are using and are there any open connections... like that...
Do we have this feature in JBoss ..
Pls Help
Thanks in advance
Vikas
hi
in solman system monitoring workcenter has the feature to check the connections between the managed systems, check the left panel there should be options for view
chk the below from here
[http://help.sap.com/saphelp_srm70/helpdata/en/86/ee3e0a5bc644af852182e03d1a8042/content.htm|http://help.sap.com/saphelp_srm70/helpdata/en/86/ee3e0a5bc644af852182e03d1a8042/content.htm]
Connectivity
You can check the status of the RFC connections in the following views:
From Solution Manager to managed systems
ABAP destinations
HTTP destinations in ABAP systems
TC/IP destinations
Between managed systems
ABAP destinations
TC/IP destinations
To check connections manually, choose Check Now, and specify whether to check selected or all connections.
You can check connections in a background job, and make other connection monitoring settings, in the Set-Up view of this work center, or via the hyperlink To Configuration.
You go to the overview of configuration settings for the RFC destination (transaction SM59), via a hyperlink in the RFC destination name.
check and update
jansi
Similar Messages
-
Monitor database connections in a database pool
Hi,
Do you know how I can monitor database connections in a database pool.. ? I am using Jboss container.
The purpose is to monitor connections that are closed and refresh them.
Thanks,There a firewall.. across which my application makes connections to the database.. the firewall times out due to the inactivity. and my application dies.
I was thinking may be I could check for the database connections in a pool and then one that is not being used for a long time .. close it and again refresh the connection.
Please Advise... -
Unable to create database connection using jboss
hi masters,
i have developed an application using jdeveloper ADF, and created .EAR file and deployed it in jboss. it shows that application is deployed, but when using application using URL http://localhost:8080/appl/index.jspx it opens login window, but when we enter username and password it does not authenticate user.
i am not developer, but a DBA and ask to deploy application using jboss. how can i resolve this issue??? while starting , jboss generates error "creating connection to database failed- unauthenticated login attempted"
what might be the issue?????
posting my exact error here, hope someone will post some suggestion.
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=PersistenceManager
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
java.lang.SecurityException: Invalid authentication attempt, principal=null
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
state: FAILED
I Depend On: jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
ObjectName: jboss.mq:service=StateManager
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
org.jboss.mq.SpyJMSException: Error creating connection to the database.; - nested throwable: (java.
lang.SecurityException: Invalid authentication attempt, principal=null)
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
any suggestion will be appreciated..
thanks and regards
VD
Edited by: vikrant dixit on १९ फ़रवरी, २००९ ९:१६ अपराह्नhello all,
do anyone have any suggestion????
thanks and regards
VD -
Monitoring/debug the database connection process
Hi,
I am trying to define a new database connection using the JDBC-ODBC Bridge (trying to connect to a legacy apps), and keep getting an error message from the ODBC driver manager, which work perfectly fine outside the JDev environment.
Is there a way for me to monitor/debug the database connection process, prior to a successful test connection, in order for me to find out exactly where/what the problem is?
Thanks for the help,
Arie.Repost
-
J2EE Struts - Database connection failed - help???:(
Hello,
I have built a little web application and it works without any problems. In the next step I tried to add a database connection but I have already worked on it for at least one day and I could not fix the problem with the database connection.
I downloaded the MySQL Server 5.0 and installed it, furthermore I have downloaded the jdbc driver mysql-connector-java-3.1.11.zip and extracted it to the MySQL Server 5.0 directory. Furthermore I have added under system settings - system - etended - system variables the whole path to the driver -> C:\Programme\MySQL\MySQL Server 5.0\mysql-connector-java-3.1.11\mysql-connector-java-3.1.11-bin.jar to the CLASSPATH systemvariable.
Then I have startet the SQL Server 5.0 with mysqld --console from the command line.
Furthermore I have added under Project-Properties-Java Build Path - Libraries - Add External JARs in Eclipse the mysql-connector-java-3.1.11-bin.jar to my Struts WebProject.
To test the whole thing I have added to the existing test-database from mysql a table named owner and wanted to test the database connection in the Action-class with the following statements - I quote the whole execute method of the OwnerAction class:
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
OwnerForm ownerForm = (OwnerForm) form;
String greet = ownerForm.getGreet();
String name = ownerForm.getName();
request.setAttribute("name", name);
request.setAttribute("greet", greet);
String address = ownerForm.getAddress();
String email = ownerForm.getEmail();
int tel = ownerForm.getTel();
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
DriverManager.registerDriver(new org.gjt.mm.mysql.Driver());
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","sa");
try {
//conn = dataSource.getConnection();
stmt = conn.createStatement();
int id = 0;
rs = stmt.executeQuery("select max(id) as counter from owner");
while(rs.next()){
id = rs.getInt("counter");
id += 1;
stmt.executeUpdate("insert into owner values("+id+", '"+greet+"', '"+name+"', '"+email+"', '"+address+"', "+tel+")");
rs.close();
stmt.close();
conn.close();
catch(SQLException e){
throw new SQLException("database error");
// Forward control to the specified success target
return (mapping.findForward("success"));
}But when I execute the WebApplication and the Action will be called the following error message appears in the browser:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
java.lang.NoClassDefFoundError: org/gjt/mm/mysql/Driver
com.asprise.struts.action.OwnerAction.execute(OwnerAction.java:72)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
It must depend with anything that the driver was not found but I have defined it in the CLASSPATH variable and added it to the Web-Project in eclispe.
Has anybody an idea what I have else made wrong or have forgotten??:(:(:(
thanks in advance
lg
patOne thing I have forgotten - I have also copied the mysql-connector-java-3.1.11-bin.jar in the WebRoot\WEB-INF\lib directory of my EasyStruts WebApplication.
Can anything else be wrong??:(:((
regards -
J2EE - database connection failed...:(:(:(
Hello,
I have built a little web application and it works without any problems. In the next step I tried to add a database connection but I have already worked on it for at least one day and I could not fix the problem with the database connection.
I downloaded the MySQL Server 5.0 and installed it, furthermore I have downloaded the jdbc driver mysql-connector-java-3.1.11.zip and extracted it to the MySQL Server 5.0 directory. Furthermore I have added under system settings - system - etended - system variables the whole path to the driver -> C:\Programme\MySQL\MySQL Server 5.0\mysql-connector-java-3.1.11\mysql-connector-java-3.1.11-bin.jar to the CLASSPATH systemvariable.
Then I have startet the SQL Server 5.0 with mysqld --console from the command line.
Furthermore I have added under Project-Properties-Java Build Path - Libraries - Add External JARs in Eclipse the mysql-connector-java-3.1.11-bin.jar to my Struts WebProject.
To test the whole thing I have added to the existing test-database from mysql a table named owner and wanted to test the database connection in the Action-class with the following statements - I quote the whole execute method of the OwnerAction class:
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
OwnerForm ownerForm = (OwnerForm) form;
String greet = ownerForm.getGreet();
String name = ownerForm.getName();
request.setAttribute("name", name);
request.setAttribute("greet", greet);
String address = ownerForm.getAddress();
String email = ownerForm.getEmail();
int tel = ownerForm.getTel();
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
DriverManager.registerDriver(new org.gjt.mm.mysql.Driver());
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","sa");
try {
//conn = dataSource.getConnection();
stmt = conn.createStatement();
int id = 0;
rs = stmt.executeQuery("select max(id) as counter from owner");
while(rs.next()){
id = rs.getInt("counter");
id += 1;
stmt.executeUpdate("insert into owner values("+id+", '"+greet+"', '"+name+"', '"+email+"', '"+address+"', "+tel+")");
rs.close();
stmt.close();
conn.close();
catch(SQLException e){
throw new SQLException("database error");
// Forward control to the specified success target
return (mapping.findForward("success"));
}But when I execute the WebApplication and the Action will be called the following error message appears in the browser:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
java.lang.NoClassDefFoundError: org/gjt/mm/mysql/Driver
com.asprise.struts.action.OwnerAction.execute(OwnerAction.java:72)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
It must depend with anything that the driver was not found but I have defined it in the CLASSPATH variable and added it to the Web-Project in eclispe.
Has anybody an idea what I have else made wrong or have forgotten??:(:(:(
thanks in advance
lg
patOne thing I have forgotten - I have also copied the mysql-connector-java-3.1.11-bin.jar in the WebRoot\WEB-INF\lib directory of my EasyStruts WebApplication.
Can anything else be wrong??:(:((
regards -
Unable to open database connection after applicaiton is running for several days.
Has anyone experienced a similar error to this:
After about 3 days of use our application starts to report errors opening
the database connection. By that time we've had thousands of transactions
happen. Oracle is only showing a few open connections to our iAS host so
the error seems to indicate the connection pool. I'm configured for 64
connections (the default). We are using the Oracle native driver on iAS
SP3, Solaris.
The iAS ksvradmin monitor gives errors when trying to see how many open
connections it has (verified bug in SP3), so I can't get any info from iAS
on the connection pool.
Thanks in advance,
Rodger Ball
Sr. Engineer
Business WireiAS6 SP3 and earlier cannot detect dead connections. If connections become
stale, iAS does not detect this and will hand out these stale connections.
I don't know enough about your problem, but you can check for this.
hope this helps,
-James
"Rodger Ball" <[email protected]> wrote in message
news:9suucb$[email protected]..
Has anyone experienced a similar error to this:
After about 3 days of use our application starts to report errors opening
the database connection. By that time we've had thousands of transactions
happen. Oracle is only showing a few open connections to our iAS host so
the error seems to indicate the connection pool. I'm configured for 64
connections (the default). We are using the Oracle native driver on iAS
SP3, Solaris.
The iAS ksvradmin monitor gives errors when trying to see how many open
connections it has (verified bug in SP3), so I can't get any info from iAS
on the connection pool.
Thanks in advance,
Rodger Ball
Sr. Engineer
Business Wire -
Error during database connection to the database : MS SQL Server 2008 R2
Hi All,
I am working with ABAP Proxy to Rec JDBC( Integrating XI with MS SQL Server 2008 R2). I am using SAP PI 7.0
I am getting error in RWB at communication channel monitoring :
Error during database connection to the database URL 'jdbc:microsoft:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST': SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'
I have given Connection details at Rec JDBC Communication channel as :
JDBC Driver as : com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection : jdbc:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST.
Please help me in this regard. I really appreciate your valuable information and time.
Thanks and Regards,
Ayub.
Edited by: Ayubsajjid on Feb 15, 2012 8:49 AMHi All,
Thanks for all your valuable inputs on my question...
As per all your inputs, we have to install/Deploy the below required jar files in the aii_af_jmsproviderlib.sda file
ojdbc14.jar
msbase.jar
mssqlserver.jar
msutil.jar
Can you please tell me from where we will exact this .jar file, bcoz we have search lotzz but we helpless.
We install from this link http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21599--> we download sqljdbc_3.0.1301.101_enu file >sqljdbc_3.0>enu-->in that I find sqljdbc.jar and sqljdbc4.jar files only . I cant above said .jar files.
Please help me.
Regards,
Ayub. -
Re: [REQ] Memory flag or way to monitor DB(dis)connections
Presumably on Mon, 20 Jul 1998 17:29:29 +0200 Jean-Paul wrote:
[snip]
We're currently running an application with some DBSession Service Objects.
As in both code and partition workshop the parameter 'password' is hidden
(replaced with ***), we can't be really sure of what they contain.
Is there any flag or simple way to have every DB connection logged ?
[snip]
Jean-Paul
Be aware that the password is exported as PLAIN TEXT in the workspace export!
Since there is no code management system in Forte to keep track of versions/changes we have three different environments exporting the entire workspace form dev to test and then from test to live.
As part of the move we change the password string in the export file before moving from test to live - or so the theory goes.
If you want to monitor access to the database why not do so at the database level? BTW, what DB do you use?
Or if you need to keep track of DB access from the application write a little logger routine that writes a line to a central log file reporting whenever the DB access method(s) are accessed. Potential for significant overhead here. Of cause you have to ensure that only the say your designated EntityManager projects are allowed to access your database in the first place.
Dirk
Hobart TAS, part of sunny OZ (trust me they said)
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hmm.
Thanks for this answer.
I should have clarified that I wanted to know what they contained at runtime,
because we don't use hardcoded values (that any pex or wex would show as you spotted),
but environment variable names which values set at runtime depend on the launcher used.
(Actually, that's the only way to be portable in both development, test and live environments).
Therefore, as described below, I'm just looking for any sqlnet call or oracle instance connection
traceability.
I " use " oracle 7.X
To clarify, Forté as a set of 'DB*' flags, one of them (we have) being able to trace any SQL call.
The idea was to 'add' the connection string used (i.e. to try to understand the 'too many processes'
oracle errors found, whether instance is accessed ; or to monitor the 'please use SQLNET V2' errors).
Any idea on " ultimate Memory Flags idiot's guide " welcomed.
Here's our situation :
All is plain text as you spotted. We use environment variable names in those fields,
substituted at 'launch' time with memory contents.
The idea would be to actually see at runtimethe database connection stringn something like :.
DATABASE CONNECTION
Caller : Ultimate_XZone_Tetris_Server_Cl34_part32 Partition
Object : DBSession UnexpectedUserStatsDBSO attached to instance Orcl
with connection string TetrisGURU/MyNameIsBond@Orcl)
Knowing that the code relies on those 'service object properties' :
External Manager : TetrisDBMgr
Database Name : ${TetrisDBNameString}
User Name : ${TetrisUserNameString}
User Password : ${TetrisUserPasswordString}
and the node manager running XXX_Ultimate_Application_Tetris_Server_Cl34_part32 has
the three environment variables set as public (i.e. exported to child processes).
Note : Of course we use uppercase variable names (unix :) ) and don't program tetris.
Thanks for any idea,
J-Paul
De: Dirk Haben[SMTP:[email protected]]
Date d'envoi: mercredi 22 juillet 1998 04:22
A: [email protected]
Cc: Forte-Users Soapbox
Objet: Re: [REQ] Memory flag or way to monitor DB (dis)connections
Presumably on Mon, 20 Jul 1998 17:29:29 +0200 Jean-Paul wrote:
[snip]
We're currently running an application with some DBSession Service Objects.
As in both code and partition workshop the parameter 'password' is hidden
(replaced with ***), we can't be really sure of what they contain.
Is there any flag or simple way to have every DB connection logged ?
[snip]
Jean-Paul
Be aware that the password is exported as PLAIN TEXT in the workspace export!
Since there is no code management system in Forte to keep track of versions/changes we have three different environments exporting the entire workspace form dev to test and then from test to live.
As part of the move we change the password string in the export file before moving from test to live - or so the theory goes.
If you want to monitor access to the database why not do so at the database level? BTW, what DB do you use?
Or if you need to keep track of DB access from the application write a little logger routine that writes a line to a central log file reporting whenever the DB access method(s) are accessed. Potential for significant overhead here. Of cause you have to ensure that only the say your designated EntityManager projects are allowed to access your database in the first place.
Dirk
Hobart TAS, part of sunny OZ (trust me they said)
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
How to immediately released database connection in jclient form app ?
Hello Steve,
We want our jclient form application could immediately released database connection when its be closed,
We had follow your Weblog technical paper about http://radio.weblogs.com/0118231/stories/2005/02/10/amPoolingConsiderationsForAdfJclient.html , it mentioned following step to release Jclient database connection, but in our jclient project when we close separate jclient form application the database connection seems not immediately released(we monitor through TOAD trace session), the database connection will continue stay alive until we close the all project application.
Call panelBinding.releaseDataControl() method before our form application closed,
Set the AM pool's minimum available size to 0 (zero), and set the idle time and pool monitor interval shorter if the up-to 20-minute wait (in case it takes two wakeup cycles for the AM instance to be idle more than its idle time) is not something you like, or
Disable AM pooling altogether (jbo.ampooling.doampooling=false)In our project application the database connection behavior like following:
1.when we open every Jclient form application , it will establish a new database connection for every form application
2.But when we closed the jclient form application , the database connection still exist
3.But when we open the same jclient form application again, the database connection will not create new database connection , it seems using the same connection when this application first create.
4.when we close the all project application , it will release all database connection.
Could you help us, thanks.
Sincerely from, TIng-RungHello Steve,
We have been study the paper that you mentioned, sorry that we still got some confused about AM pool and jdbc pool, My project bc4j,xcfg like following , could you help us what we missing ?
==============================
<?xml version = '1.0' encoding = 'UTF-8'?>
<BC4JConfig>
<AppModuleConfigBag>
<AppModuleConfig name="xxxAppModuleLocal">
<jbo.ampool.maxinactiveage>5000</jbo.ampool.maxinactiveage>
<user>xxx</user>
<jbo.project>His</jbo.project>
<AppModuleJndiName>com.xxx.business.module.xxxAppModule</AppModuleJndiName>
<DeployPlatform>LOCAL</DeployPlatform>
<jbo.poolmonitorsleepinterval>10000</jbo.poolmonitorsleepinterval>
<jbo.poolmaxinactiveage>5000</jbo.poolmaxinactiveage>
<JDBCName>NEWNTUHRIS</JDBCName>
<RELEASE_MODE>Stateless</RELEASE_MODE>
<jbo.recyclethreshold>0</jbo.recyclethreshold>
<ApplicationName>com.xxx.business.module.xxxAppModule</ApplicationName>
<java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
<password>xxxx</password>
<jbo.poolminavailablesize>0</jbo.poolminavailablesize>
<DBconnection>jdbc:oracle:thin:@10.0.0.8:1521:xxx</DBconnection>
<jbo.ampool.minavailablesize>0</jbo.ampool.minavailablesize>
<jbo.ampool.monitorsleepinterval>10000</jbo.ampool.monitorsleepinterval>
</AppModuleConfig>
</AppModuleConfigBag>
<ConnectionDefinition name="xxx">
<ENTRY name="JDBC_PORT" value="1521"/>
<ENTRY name="ConnectionType" value="JDBC"/>
<ENTRY name="HOSTNAME" value="xx.xx.xx.xx"/>
<ENTRY name="DeployPassword" value="true"/>
<ENTRY name="user" value="xxx"/>
<ENTRY name="ConnectionName" value="xxx"/>
<ENTRY name="SID" value="xxx"/>
<ENTRY name="password">
<![CDATA[{904}0505E5FED797881374FDE8BD1606B6CF01]]>
</ENTRY>
<ENTRY name="JdbcDriver" value="oracle.jdbc.driver.OracleDriver"/>
<ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
<ENTRY name="DeployPassword" value="true"/>
</ConnectionDefinition>
</BC4JConfig>
and our jclient code to release connection like following:
tabbedPane.addCloseListener(new CloseListener(){
public void closeOperation(MouseEvent e){
cleanTabComponentListener(tabbedPane.getComponentAt(tabbedPane.getOverTabIndex()));
tabbedPane.remove(tabbedPane.getOverTabIndex());
UPanelBinding panelbd = tabbedPane.getPanelBinding();
panelbd.releaseDataControl();
panelbd.getBindingContext().release();
} -
Report in production prompts for database connection info
Hi,
I'm using SAP Crystal Reports version for VS 2010 SP1. I'm trying to implement the most basic need--to create reports in a development environment and move them to production by just copying the .rpt files. I want to rely on the database connection string from web.config, but don't see how that is done. I've tried using ADO.NET DataSets from Project Data and can get the report to run while developing, but when I move to another server I'm always prompted with the "The report you requested requires further information" dialog.
I tried this solution, which keeps the db server name in a web.config variable:
ReportDocument boReportDocument = new ReportDocument();
boReportDocument.Load(Server.MapPath(rmCR.SelectedItem.Value.ToString()));
ConnectionInfo boConnectionInfo = new ConnectionInfo();
boConnectionInfo.ServerName = ConfigurationManager.AppSettings["dbServerName"];
boConnectionInfo.DatabaseName = "dbCMRP_Employees";
boConnectionInfo.IntegratedSecurity = true;
ModifyConnectionInfo(boReportDocument.Database, boConnectionInfo);
// Modify the ConnectionInfo for all tables in all subreports
foreach (ReportDocument boSubreport in boReportDocument.Subreports)
ModifyConnectionInfo(boSubreport.Database, boConnectionInfo);
Session.Add("Report", boReportDocument);
Response.Redirect("CrystalReportsViewer.aspx");
and this works fine in development, but when moved to a different server I get the "The report you requested requires further information" dialog. I've made sure that the db has the correct security settings, but can't find anything missing.
I'm sure I'm missing something basic, but can't seem to find any solution after searching for days. Any solution that allows me to create the report in VS 2010 and copy to a production server will be appreciated.
Thanks,
DanThanks for your replies.
I think I've done what's outlined in the Troubleshooting Guide link that Ludek gave me. I did install Process Monitor and found the "Access Denied" entry, but I'm not sure which folder needs permission given to IIS APPPOOL\ASP.NET v4.0.
Here's the entry from Process Monitor:
Description: IIS Worker Process
Company: Microsoft Corporation
Name: w3wp.exe
Version: 7.5.7601.17514
Path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Command Line: C:\Windows\SysWOW64\inetsrv\w3wp.exe -ap "ASP.NET v4.0" -v "v4.0" -l "webengine4.dll" -a
.\pipe\iisipm461f344a-3d68-4e7c-b42e-ca18eac4553c -h "C:\inetpub\temp\apppools\ASP.NET v4.0\ASP.NET v4.0.config" -w "" -m 0 -t 20
PID: 7512
Parent PID: 3892
Session ID: 0
User: IIS APPPOOL\ASP.NET v4.0
Auth ID: 00000000:00465886
Architecture: 32-bit
Virtualized: False
Integrity: High
Started: 8/29/2011 1:03:58 PM
Ended: (Running)
Modules:
w3wp.exe 0x120000 0x8000 C:\Windows\SysWOW64\inetsrv\w3wp.exe Microsoft Corporation 7.5.7601.17514
Microsoft.Web.Administration.dll 0x28ae0000 0x24000 C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Administration\7.0.0.0__31bf3856ad364e35\Microsoft.Web.Administration.dll Microsoft Corporation 6.1.7601.17514
App_Web_822ce1a1f503e532a2e860f7ce344f6d0d0f2eba.ascx.3417f053.eb4fk61t.dll 0x28b10000 0x8000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\intranet\58a686e6\86baa618\App_Web_822ce1a1f503e532a2e860f7ce344f6d0d0f2eba.ascx.3417f053.eb4fk61t.dll n/a 0.0.0.0
App_Web_aed28e8a45aa161f6c9fc3f563283cb89b317bdc.ascx.3417f053.rodqolhn.dll 0x28c90000 0x8000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\intranet\58a686e6\86baa618\App_Web_aed28e8a45aa161f6c9fc3f563283cb89b317bdc.ascx.3417f053.rodqolhn.dll n/a 0.0.0.0
pvlocale-1-0.dll 0x2fc80000 0x76000 C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\pvlocale-1-0.dll SAP BusinessObjects 14.0.0.760
System.Data.Entity.ni.dll 0x2fd50000 0xcb8000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data.Entity\978e8514751373383f79c3fdd667aa2b\System.Data.Entity.ni.dll Microsoft Corporation 4.0.30319.1 -
Database Connection Problem on Linux
I have recently installed Oracle Database on a linux server. The app server that accesses db is JBoss.
Always, I end up seeing an error "java.sql.SQLException: No more data to read from socket".
To verify if the problem is with JBoss, I have written a simple stand alone java class to access the db, and ended up with the same error.
Can anybody help me out ??
-Aswin.This error most likely occurs in applications that
use a database connections pool. When the application
checked out a connection that has been timed out or
has been staled, and used it to connect to the
database, this error occurs.
Could also be a result of connection timeout.Yeah! may be it is the result of connection timeout, but I am sure it cannot be realted to connection pool, because to verify if there were any configuration problems on JBoss, we have written a simple java class that directly accesses the database.
If it is because of connection timeout, how do i fix it ?? -
Database Connection Problem, JSP, Tomcat5.5.9, Oracle9i
hi,
Am trying to make database connection using Oracle9i thin driver, what am doing is:
I put classes12.zip and classes12_dms.jar in the classpath and also added these libraries in netbeans library folder.
I make jsp page like this --------
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="java.util.*, java.sql.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Testing Page</title>
</head>
<body>
<%
String url = "jdbc:oracle:thin:@SERVERNAME:1521:DBNAME";
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn = DriverManager.getConnection(url,"scott","tiger");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from person order by name");
%>
<h1>Testing Page</h1><hr>
<table border="1">
<tbody>
<tr>
<th>Name</th>
<th>Email</th>
</tr>
<% while(rs.next()) {%>
<tr>
<td><%= rs.getString(1)%></td>
<td><%= rs.getString(2)%></td>
</tr>
<%
rs.close();
stmt.close();
conn.close();
} catch(ClassNotFoundException CNFEx) {
out.println("<b>Error !</b><br>" + CNFEx.getMessage());
} catch(Exception Ex) {
out.println("<b>Error !</b><br>" + Ex.getMessage());
%>
</tbody>
</table>
</body>
</html>
when I run this page i got this error messages ----
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:138)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
root cause
java.lang.NoClassDefFoundError
oracle.jdbc.driver.OracleConnection.createDMSSensors(OracleConnection.java:506)
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:330)
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:485)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:337)
java.sql.DriverManager.getConnection(Unknown Source)
java.sql.DriverManager.getConnection(Unknown Source)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:79)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
any kind of help is appericiable.
thanks.....I'd start by checking for a more recent driver version on Oracle's web site.
Or: googling for "createDMSSensors" (the "root cause" in the stack trace) has as the first hit: Re: Java Help Please! HttpServlet doFilter() Exception -
Event 26330 "Database connectivity is lost"
Hi there,
at our customer we're using SCOM to monitor the productive SCSM Environments for alerts.
We had now couple of times the alert with ID 26330 and Source OpsMgr SDK Service. Here are some more details of the Event from the OperationsManager Log
The System Center Data Access service lost database connectivity.
Database name: ServiceManager
Server instance name: S000243\SCSMINSTANCE
Exception message: Transaction (Process ID 55) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
In most cases the Connection was re-established again within seconds. So my colleague and I started wondering why this alert is then still active. In the monitor details he checked what the healthy state conditions are so that this kind of alert gets auto-resolved
in SCOM. The monitor is apparently looking for another Event with ID 26331 to become healthy again. The weird thing though is that we never had such an Event logged yet, even if we forcely restart the Data Access Service and we can ensure that the Connection
is fine again this Event ID is not logged.
So after some research in the Internet we stumble upon this blog post:
http://blopon.blogspot.ch/2007/10/sdk-service-event-id-26330-is-raised.html
That's exactly what we're experiencing as well. He's saying this was a bug in SCOM 2007 and is most likely fixed by now. But we all know that SCSM is built upon the (old?) SCOM Framework. So is it possible that this bug has been fixed in SCOM 2007 but never
in SCSM?
We're running currently SCSM 2012 SP1 CU2 (about to updated to CU6 soon).
Had someone of you ever experienced the same Events and knows how to fix it properly? Just closing the alert and the Incident is just stalling the Event from happening again :)
Thanks
AlexIt is very possible. the Service Manager 2012 SDK is based on the 2010 SDK, which was itself based on the Ops Manager 2007 SDK. I can't find any documentation to this effect right now, but i would be more then willing to believe it was based on the RTM,
rather then a later Service Pack or CU.
This seems like an ideal time to test the new product team's suggestions on
recent LyncUp calls that https://connect.microsoft.com/WindowsServer/Feedback is a vital and open point of contact for issues and concerns. I'm personally skeptical of this claim,
given that (at the time of this post) there are three issues, one has been summarily dismissed, and the other two have no comment, but i haven't had anything to submit since I've been working with other system center components recently. If their claims hold
up, then this would be the perfect case for them to prove their new commitment beyond doubt, since this is an easily reproducible, seemingly easily diagnose-able, and possibly easily repairable fault.
I encourage you to throw this up there, with as much documentation as you can. i will watch with baited breath, to abuse an idiom, to see the response. -
Error during database connection (JDBC)
Hello!
When I try testing my connection to MSSQL (using sender JDBC channel) in communication channel monitoring (RWB)i can read that Error explanation:
Error during database connection to the database URL 'jdbc:microsoftsqlserver://<DB_IP_ADRESS>:1433;databaseName=XXXX' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL 'jdbc:microsoftsqlserver://<DB_IP_ADRESS>:1433;databaseName=XXXX''
Before I did the communication channel configuration I did the driver instalation and deploy like in document "HowTo_ConfigExtAdapters". In Adapter Monitor (RWB) i can see the JDBC adapter instaled and started (gray square).
Any idea what is wrong?hi,
try this:
jdbc:microsoft:sqlserver://
and not
jdbc:microsoftsqlserver
Regards,
michal
Maybe you are looking for
-
Hi! This might be a stupid question, but I just bought an IPod G5 60 GB. When you firstconnect your IPod you have to setup your ID. I'm using my brothers computer, who has an IPod too, so now I'm wondering when I set up my ID with his Itunes does his
-
How do I change the opacity settings for photoshop imported files?
I am importing a series of photoshop files into CS6 Premiere Pro. There is no background color on the photoshop images, and when I preview them in Premiere's import window, the background appears white. Once I import them into premiere, however, the
-
New 17" MacBook Pro Brightness always changing
Just got a brand new MacBook Pro. Like it but the screen brightness keeps changing and its driving me nuts! Often the lights on the back lit keyboard come on and off, for apparently no rhyme or reason. Crazy. Anyone know what's going on? Or how to tu
-
MD73 - not displaying customer order assignment
Hi, I am having 2 materials - both set up with planning strategy 40. For one material, Customer order assignment is displayed in MD73 but for other material it is not displaying. MRP-1 to MRP-4 viewa are same for both parts. What else shall I need to
-
Re: How to install Windows from recovery media on a new hard drive?
Immediately after a Windows update, my computer would not restart. It said disk error. I could not start it from the recovery media and F8 would not work. I bought and installed a new hard drive. Now when I put in the recovery media to install Window