JBOSS running problem
how can we start JBOSS, there is no setup file to install it. so please send me steps to open JBOSS and run with an example.
Seriously?
No setup needed: download, unzip, cd bin, run, done.
All your base are belong to them. Then.
Similar Messages
-
For CF Server 9 developer win 64bit has the same running problems like 32bit, or more
CFWACK8 reader:
Better install CF Server stand alone - so no need Apache? For CF Server 9 developer windows 64bit has the same running problems like 32bit, or more?
I have installed http://www.apachefriends.org/en/xampp-windows.html ..WAMPP, well Mysql may used by this CF Server 9 developer, although book use Apache Derby embedded to cf server?
CFEclipse plugin may installed either in my (separate) Flash Builder 4 or Eclipse Helios, or only to latter?CF 9 64-bit will generally be your best choice on a 64-bit platform, unless you specifically require something that's not available in 64-bit, like COM.
For development, the built-in web server is fine. But if you want to learn how to manage a web server, it's good to install Apache and configure CF to use that.
You may use any SQL engine for which there are JDBC drivers, including MySQL. Apache Derby is used for demos, etc, because it's bundled with CF. You don't want to use it for real projects, though.
You can install CF Builder in any modern Eclipse, including Helios or Flash Builder. This is largely a matter of personal preference. I've encountered some features that don't work properly unless you let CF Builder install its own bundled Eclipse, but these are features that I don't use much anyway.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/ -
Applet running problem in ie 6.0 under Windows XP
Applet running problem in ie 6.0 under Windows XP
I have a PC running Iternet Explorer 6.0 running under Windows XP. I have developed an applet using JDK 1.3 which is running fine with applet viewer , but it is not running in ie. I have installed Netscape navigator and Opera 5. the applet is running fine in both of these browsers but somehow it is not running in IE.
Later on I upgraded my JDK to 1.4. It also displays use Java2 (V1.4.1) for <applet> (requires restart) tck marked in Advance section under Tools-Options menu of IE.
I have also tried and set various options in my Control Panel�s Java Plug-in but all in vain. I have searched the sites for this solution but no one answers specifically.
I know it�s a small problem due to discarded JVM in IE under Windows XP but give me solution for that.
Thanks in Advance
[email protected]Dear I have the same problem .
Applet running problem in 6.0 . Enen I have installed the latest Jre 1.5.
What should I do. I am fedup with this problem. -
Problem in creating multiple instance of Jboss running on same machine ???
Hi all
Please tell me steps to create multiple instance of Jboss with diffrent port number.
Actually i want multiple instance of Jboss with different port number running on same machine.
I tried with this steps, but it does not work for me.
In conf/jboss-service.xml i added
<mbean code="org.jboss.services.binding.ServiceBindingManager"
name="jboss.system:service=ServiceBindingManager">
<attribute name="ServerName">ports-01</attribute>
<attribute name="StoreURL">D:/dev/jboss-4.0.2/docs/examples/binding-manager/sample-indings.xml</attribute>
<attribute name="StoreFactoryClassName">
org.jboss.services.binding.XMLServicesStoreFactory
</attribute>
</mbean>
<mbean code="org.jboss.services.binding.ServiceBindingManager"
name="jboss.system:service=ServiceBindingManager">
<attribute name="ServerName">ports-02</attribute>
<attribute name="StoreURL">D:/dev/jboss-4.0.2/docs/examples/binding-manager/sample-bindings.xml</attribute>
<attribute name="StoreFactoryClassName">
org.jboss.services.binding.XMLServicesStoreFactory
</attribute>
</mbean>But i am getting an exception when i am trying to run jboss server
16:49:04,656 INFO [ServiceBindingManager] Using StoreURL: file:/D:/dev/jboss-4.0.2/docs/examples/binding-manager/sample-binding
16:49:04,750 ERROR [MainDeployer] could not create deployment: file:/D:/dev/jboss-4.0.2/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.system:service=ServiceBindingMana
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:153)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
at org.jboss.system.ServiceController.install(ServiceController.java:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.system:service=ServiceBindingMana
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:153)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
at org.jboss.system.ServiceController.install(ServiceController.java:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
16:49:05,125 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
Shutting down
16:49:05,156 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
Press any key to continue . . .Please help me on this.
Thanks in advanceThen you haven't followed the method correctly. That error is
addressed specifcally on that site, as that error is the main
reason for the site. Did you read the note about the "known
bug" because of the one port that is not included in the
sample file?
If you had tried the first method (set up a second IP and
started both servers with the command line option providing
an IP) there is no way this error could happen.
If you followed the second method, and specified a different
port for every port listed (including the one that is not in the
sample file per default) then there is, once again, no way that
this error could happen.
The error happens on the second server because it is trying
to bind the same port, using the same address, as the first
server, which is impossible if you fully implement one of the
two methods described there. -
Mysql, Jboss connecting problem
Hello,
I am having problem with mysql database. I am trying to run AccountEJB application from SUN with mysql as my backend.
PLEASE DO NOT FORGET I AM NOT EXPERT IN JBOSS OR EJB BUT I AM TRYING TO LEAN WITH A EXAMPLE.
HERE IS MY SETUP UP TO THIS POINT.
I am running jboss-3.03.0_tomcat-4.0.3
I am including
1. AccountBean
2. ejb-jar.xml
3. web.xml
4. jboss.xml
6. mysql-service.xml ( I add my database name, username, password and i copy it to ..server/default/deploy dir.)
I only modified mysql-service.xml. Do i have to modify any other jboss files. Some people are saying i have to modify "standardjaws.xml, standardjbosscmp.xml"
My AccountBean code is
Please take a look at "setEntityContext" and "makeConnection" that is where problem comes.
Here is the error
10:43:19,950 INFO [Engine] AccountServlet: init
10:43:19,950 INFO [STDOUT] AccountServlet: init()
10:43:20,101 INFO [STDOUT] Got context
10:43:20,311 INFO [STDOUT] Got referance
10:43:20,371 INFO [STDOUT] Got referance to home object
10:43:20,501 INFO [STDOUT] setEntityContext call....
10:43:20,501 INFO [STDOUT] makeConnection call...
10:43:20,501 INFO [STDOUT] Something went wrong within makeConnction call ....
javax.naming.NameNotFoundException: MySqlDS not bound
10:43:20,501 INFO [STDOUT] Came back from makeConnction call ...
10:43:20,501 INFO [STDOUT] ejbCreate call
10:43:20,501 INFO [STDOUT] insertRow call...
10:43:20,511 ERROR [STDERR] Caught an exception.
10:43:20,511 ERROR [STDERR] java.rmi.ServerException: ejbCreate: null; nested ex
ception is:
javax.ejb.EJBException: ejbCreate: null
package com.ps.impl;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import java.sql.*;
import javax.sql.*;
import javax.ejb.*;
import javax.naming.*;
import java.util.*;
import java.rmi.*;
public class AccountBean implements EntityBean
private EntityContext context;
private String id;
private String firstName;
private String lastName;
private double balance;
private Connection con;
//private String dbName = "java:/MySqlDS";
public void debit (double amount)
if (balance - amount < 0)
else
balance = balance - amount;
public void credit (double amount)
balance = balance + amount;
public String getFirstName()
return firstName;
public String getLastName()
return lastName;
public double getBalance()
return balance;
public String ejbCreate(String id, String firstName, String lastName, double balance)
throws CreateException
System.out.println("ejbCreate call");
if (balance < 0.00) {
throw new CreateException
("A negative initial balance is not allowed.");
try {
insertRow(id, firstName, lastName, balance);
} catch (Exception ex) {
throw new EJBException("ejbCreate: " +
ex.getMessage());
this.id = id;
this.firstName = firstName;
this.lastName = lastName;
this.balance = balance;
return id;
public void ejbPostCreate(String id, String firstname, String lastname, double blance)
public String ejbFindByPrimaryKey(String primaryKey)
throws FinderException
System.out.println("ejbFindPrimaryKey call...");
boolean result;
try {
result = selectByPrimaryKey(primaryKey);
} catch (Exception ex) {
throw new EJBException("ejbFindByPrimaryKey: " +
ex.getMessage());
if (result) {
return primaryKey;
else {
throw new ObjectNotFoundException
("Row for id " + primaryKey + " not found.");
public Collection ejbFindByLastName(String lastName)
throws FinderException
System.out.println("ejbFindByLastName call...");
Collection result;
try {
result = selectByLastName(lastName);
} catch (Exception ex) {
throw new EJBException("ejbFindByLastName " +
ex.getMessage());
if (result.isEmpty()) {
throw new ObjectNotFoundException("No rows found.");
else {
return result;
public Collection ejbFindInRange(double low, double high)
throws FinderException
System.out.println("ejbFindRange call ....");
Collection result;
try {
result = selectInRange(low, high);
} catch (Exception ex) {
throw new EJBException("ejbFindInRange: " +
ex.getMessage());
if (result.isEmpty()) {
throw new ObjectNotFoundException("No rows found.");
else {
return result;
public void ejbActivate()
System.out.println("ejbActivate call ...");
id = (String)context.getPrimaryKey();
public void ejbLoad()
System.out.println("ejbLoad call ...");
try {
loadRow();
} catch (Exception ex) {
throw new EJBException("ejbLoad: " +
ex.getMessage());
public void ejbPassivate()
id = null;
public void ejbRemove()
System.out.println("ebjRemove call ...");
try {
deleteRow(id);
} catch (Exception ex) {
throw new EJBException("ejbRemove: " +
ex.getMessage());
public void ejbStore()
System.out.println("ejbStore call ...");
try {
storeRow();
} catch (Exception ex) {
throw new EJBException("ejbLoad: " +
ex.getMessage());
public void setEntityContext(EntityContext context)
this.context = context;
System.out.println("setEntityContext call....");
try {
makeConnection();
System.out.println("Came back from makeConnction call ...");
} catch (Exception ex) {
throw new EJBException("Unable to connect to database " +
ex.getMessage());
public void unsetEntityContext()
System.out.println("unsetEntityContext call ...");
try {
con.close();
} catch (SQLException ex) {
throw new EJBException("unsetEntityContext: " + ex.getMessage());
/*********************** Database Routines *************************/
private void makeConnection() throws NamingException, SQLException
System.out.println("makeConnection call...");
try
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup("java:/MySqlDS");
con = ds.getConnection();
catch (Exception ex)
System.out.println("Something went wrong within makeConnction call .... " + ex);
private void insertRow (String id, String firstName, String lastName,
double balance) throws SQLException {
System.out.println("insertRow call...");
String insertStatement =
"insert into account values ( ? , ? , ? , ? )";
PreparedStatement prepStmt =
con.prepareStatement(insertStatement);
prepStmt.setString(1, id);
prepStmt.setString(2, firstName);
prepStmt.setString(3, lastName);
prepStmt.setDouble(4, balance);
prepStmt.executeUpdate();
prepStmt.close();
private void deleteRow(String id) throws SQLException {
System.out.println("deleteRow call ...");
String deleteStatement =
"delete from account where id = ? ";
PreparedStatement prepStmt =
con.prepareStatement(deleteStatement);
prepStmt.setString(1, id);
prepStmt.executeUpdate();
prepStmt.close();
private boolean selectByPrimaryKey(String primaryKey)
throws SQLException {
System.out.println("selectByPrimaryKey call...");
String selectStatement =
"select id " +
"from account where id = ? ";
PreparedStatement prepStmt =
con.prepareStatement(selectStatement);
prepStmt.setString(1, primaryKey);
ResultSet rs = prepStmt.executeQuery();
boolean result = rs.next();
prepStmt.close();
return result;
private Collection selectByLastName(String lastName)
throws SQLException {
System.out.println("selectByLastName call...");
String selectStatement =
"select id " +
"from account where lastname = ? ";
PreparedStatement prepStmt =
con.prepareStatement(selectStatement);
prepStmt.setString(1, lastName);
ResultSet rs = prepStmt.executeQuery();
ArrayList a = new ArrayList();
while (rs.next()) {
String id = rs.getString(1);
a.add(id);
prepStmt.close();
return a;
private Collection selectInRange(double low, double high)
throws SQLException {
System.out.println("selectInRange call ....");
String selectStatement =
"select id from account " +
"where balance between ? and ?";
PreparedStatement prepStmt =
con.prepareStatement(selectStatement);
prepStmt.setDouble(1, low);
prepStmt.setDouble(2, high);
ResultSet rs = prepStmt.executeQuery();
ArrayList a = new ArrayList();
while (rs.next()) {
String id = rs.getString(1);
a.add(id);
prepStmt.close();
return a;
private void loadRow() throws SQLException {
System.out.println("loadRow call ....");
String selectStatement =
"select firstname, lastname, balance " +
"from account where id = ? ";
PreparedStatement prepStmt =
con.prepareStatement(selectStatement);
prepStmt.setString(1, this.id);
ResultSet rs = prepStmt.executeQuery();
if (rs.next()) {
this.firstName = rs.getString(1);
this.lastName = rs.getString(2);
this.balance = rs.getDouble(3);
prepStmt.close();
else {
prepStmt.close();
throw new NoSuchEntityException("Row for id " + id +
" not found in database.");
private void storeRow() throws SQLException {
System.out.println("storeRow call ...");
String updateStatement =
"update account set firstname = ? ," +
"lastname = ? , balance = ? " +
"where id = ?";
PreparedStatement prepStmt =
con.prepareStatement(updateStatement);
prepStmt.setString(1, firstName);
prepStmt.setString(2, lastName);
prepStmt.setDouble(3, balance);
prepStmt.setString(4, id);
int rowCount = prepStmt.executeUpdate();
prepStmt.close();
if (rowCount == 0) {
throw new EJBException("Storing row for id " + id + " failed.");
2. ejb-jar.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<entity>
<description>Entity Bean ( BMP )</description>
<display-name>Account</display-name>
<ejb-name>Account</ejb-name>
<home>com.ps.AccountHome</home>
<remote>com.ps.Account</remote>
<ejb-class>com.ps.impl.AccountBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
</entity>
</enterprise-beans>
</ejb-jar>
3. web.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Empty web.xml file for Web Application</description>
<servlet>
<servlet-name>AccountServlet</servlet-name>
<servlet-class>com.ps.AccountServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AccountServlet</servlet-name>
<url-pattern>/accountservlet</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
4. jboss.xml (i am not sure this is righ maybe this is the problem)
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS//EN" "http://www.jboss.org/j2ee/dtd/jboss.dtd">
<jboss>
<resource-managers>
<resource-manager res-class="">
<res-name>MySqlDS</res-name>
<res-jndi-name>java:/MySqlDS</res-jndi-name>
</resource-manager>
</resource-managers>
</jboss>
5. mysql-service.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- -->
<!-- JBoss Server Configuration -->
<!-- -->
<!-- ===================================================================== -->
<server>
<!-- ==================================================================== -->
<!-- New ConnectionManager setup for mysql using 2.0.11 driver -->
<!-- Build jmx-api (build/build.sh all) and view for config documentation -->
<!-- ==================================================================== -->
<mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" name="jboss.jca:service=LocalTxCM,name=MySqlDS">
<!-- Include a login module configuration named MySqlDbRealm.
Update your login-conf.xml, here is an example for a
ConfiguredIdentityLoginModule:
<application-policy name = "MySqlDbRealm">
<authentication>
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
<module-option name = "principal">yourprincipal</module-option>
<module-option name = "userName">yourusername</module-option>
<module-option name = "password">yourpassword</module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=MySqlDS</module-option>
</login-module>
</authentication>
</application-policy>
NOTE: the application-policy name attribute must match SecurityDomainJndiName, and the
module-option name = "managedConnectionFactoryName"
must match the object name of the ConnectionManager you are configuring here.
-->
<!--uncomment out this line if you are using the MySqlDbRealm above
<attribute name="SecurityDomainJndiName">MySqlDbRealm</attribute>
-->
<depends optional-attribute-name="ManagedConnectionFactoryName">
<!--embedded mbean-->
<mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=LocalTxDS,name=MySqlDS">
<attribute name="JndiName">MySqlDS</attribute>
<attribute name="ManagedConnectionFactoryProperties">
<properties>
<config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://localhost:3306/pac</config-property>
<config-property name="DriverClass" type="java.lang.String">org.gjt.mm.mysql.Driver</config-property>
<!--set these only if you want only default logins, not through JAAS -->
<config-property name="UserName" type="java.lang.String">t100</config-property>
<config-property name="Password" type="java.lang.String">t200</config-property>
</properties>
</attribute>
<!--Below here are advanced properties -->
<!--hack-->
<depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper</depends>
</mbean>
</depends>
<depends optional-attribute-name="ManagedConnectionPool">
<!--embedded mbean-->
<mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" name="jboss.jca:service=LocalTxPool,name=MySqlDS">
<attribute name="MinSize">0</attribute>
<attribute name="MaxSize">50</attribute>
<attribute name="BlockingTimeoutMillis">5000</attribute>
<attribute name="IdleTimeoutMinutes">15</attribute>
<!--criteria indicates if Subject (from security domain) or app supplied
parameters (such as from getConnection(user, pw)) are used to distinguish
connections in the pool. Choices are
ByContainerAndApplication (use both),
ByContainer (use Subject),
ByApplication (use app supplied params only),
ByNothing (all connections are equivalent, usually if adapter supports
reauthentication)-->
<attribute name="Criteria">ByContainer</attribute>
</mbean>
</depends>
<depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
<depends optional-attribute-name="JaasSecurityManagerService">jboss.security:name=JaasSecurityManager</depends>
<attribute name="TransactionManager">java:/TransactionManager</attribute>
<!--make the rar deploy! hack till better deployment-->
<depends>jboss.jca:service=RARDeployer</depends>
</mbean>
</server>In /JBoss/server/default/conf/standardjaws.xml.
Set
<datasource>java:/mySqlDS</datasource>
<type-mapping>mySql</type-mapping>
In /JBoss/server/default/conf/standardjbosscmp-jdbc.xml.
Set
<defaults>
<datasource>java:/mySqlDS</datasource>
<datasource-mapping>mySql</datasource-mapping></defaults> -
I am connecting to JBoss application server from a signed applet,
my code is like this
Hashtable env = new Hashtable();
env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory" ) ;
env.put("java.naming.provider.url", "SERVER_NAME") ;
env.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces" ) ;
env.put("java.naming.security.principal", CBGlobals.USER_NAME);
env.put("java.naming.security.credentials", CBGlobals.PASSWORD);
Context ic = new InitialContext (env);
now it gives me an error message
java.lang.ExceptionInInitializerError
at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:42)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at ChrBrowser.ChrBrowser.connectToServer(ChrBrowser.java:609)
at ChrBrowser.ChrBrowser.<init>(ChrBrowser.java:127)
at ChrBrowser.CBMain.init(CBMain.java:111)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Any hits or help will be cordially appreciated
Renjith.thanks,
I used the same link
the problem occured becase i didnt sign jbossclient.jar with the same key with which other required jar files are signed -
E:\jboss\jboss-4.0.5.GA\bin>run -c spend
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\jboss\jboss-4.0.5.GA\bin\\..
JAVA: C:\Program Files\java\jsdk1.4\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.g
cInterval=3600000
CLASSPATH: C:\Program Files\java\jsdk1.4\lib\tools.jar;E:\jboss\jboss-4.0.5.GA\bin\\run.jar;E:\jboss\jboss-4.0.5.GA\server\
spend\deploy;E:\jboss\jboss-4.0.5.GA\server\spend\conf;E:\jboss\jboss-4.0.5.GA\server\spend\conf\config;
===============================================================================
log4j:ERROR Could not instantiate class [org.apache.log4j.xml.DOMConfigurator].
java.lang.ClassNotFoundException: org.apache.log4j.xml.DOMConfigurator
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:309)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:449)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:77)
at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:338)
at org.jboss.logging.Logger.<init>(Logger.java:96)
at org.jboss.logging.Logger.getLogger(Logger.java:309)
at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:166)
at org.jboss.system.server.ServerImpl.init(ServerImpl.java:147)
at org.jboss.Main.boot(Main.java:197)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:536)
log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
log4j:WARN No appenders could be found for logger (org.jboss.system.server.Server).
log4j:WARN Please initialize the log4j system properly.
please can any body tell me how to solve this problemProblems like this don't cease to amaze me.
We are in the year of 2009 and this problem is most probably caused because jboss is started from a path which contains one or more space.
Try move your jboss installation or eclipse installation (i am not familiar how jboss in installed inside eclipse) to a folder with no spaces and the problem should go away.
It is sad that nice software like jboss has stupid bugs like this. Oh and it migh not be jboss but the JVM. It is silly in any case... -
Compile / run problems with netbeans 6 but not netbeans 6 beta 1 or 5.5
When I compile my project in netbeans IDE 6.0 (Build 200711261600) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 i get quite often a "can not find symbol" error or during runtime a "netbeans 6 java.lang.NoClassDefFoundError" exception. also switching between F6 or ctrl-F5 mode can cause the problem to appear.
Compiling again or clean build resolves it.
However running the same project under netbeans 5.5 or 6 beta 1 never gives this problem.
any hint what might be wrong? i looked and compared the project settings but can't see any difference, but I assume that the upgrade script must have changed something.<?xml version="1.0" encoding="UTF-8" ?>
- <project name="BorderDemo" default="default" basedir=".">
<import file="nbproject/build-impl.xml" />
</project>This is 'build.xml' file. Check for 'project.xml' file in 'nbproject' folder. You will find it to be:
<?xml version="1.0" encoding="UTF-8" ?>
- <project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>BorderDemo</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
- <source-roots>
<root id="src.dir" />
</source-roots>
</data>
</configuration>
</project>Change it to:
<?xml version="1.0" encoding="UTF-8" ?>
- <project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>BorderDemo</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
- <source-roots>
<root id="src.dir" />
</source-roots>
<test-roots>
<root id="test.src.dir" />
</test-roots>
</data>
</configuration>
</project>I hope it works.....
thanks! -
Yoga 3 Pro lmcfrundll​.exe Run Problem, how to fix?
While Lenovo is in the process of developing a solution, an official work-around to the automatic update delivered on February 7th to Yoga 3 Pro laptops bas been released to address the following errors:
lmcfrundll.exe application error unable to start correctly (0xc000007b)
problem starting c:\program files\lenovo\communications utility\libstartstub.dll specified module could not be found
Please note this is a work-around, not the final solution.
It is intended for Yoga 3 Pro systems running Win 8.1 on Lenovo Settings Dependency Package version 2.3.1.30 only.
The readme file and work-around can be obtained here:
https://drive.google.com/folderview?id=0B0Wzd6g3ynHwfmpTQmhxOHBUSGRSN05tejU1cU1hT1hDN3ZEN1MzUlR4LWRO...
Thank you,
2/20/15 EDIT: Tagging this temp fix as a solution so it can be found by others joining the conversation. I will tag the permanant fix when it becomes available. Amy_Lenovo
Amy Tupper
Technical Resolution Lead, Pervasive Issues
Lenovo US
ThinkPad T431s, S3 Yoga 14, Helix, Edge 11 & 14, E431, IdeaTab A1107, IdeaPad A1-07, IdeaCentre Horizon, Yoga Tablet 2 10 1051
First computer was a 1980 Commodore 64 from Radio Shack/ GEnie SFRT member from 1993-1996
Solved!
Go to Solution.I have a Yoga 3 Pro, Windows 8.1 Pro x64.
There are errors in the Event Viewer related to the problems of LMCSTART1, LMCSTART2, LMCSTART3, which I will cut and paste below. These are there because they are failing to load as the error message on the pop-up window states.
As for the libstartstub.dll "specified module could not be found", there were not errors or warnings in the Event Viewer related to this, but I have noticed that if I disable LENOVO.TPKNRRES from running (via OneKey Optimizer), that particular error doesn't come up.
Here are the errors now from Event Viewer:
Event ID 1005 (same error listed 3 times as an Application error, with a different RecordID listed below)
Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program Lenovo® Multimedia and Communications Framework Custom Rundll because of this error.
Program: Lenovo® Multimedia and Communications Framework Custom Rundll
File:
The error value is listed in the Additional Data section.
User Action
1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
2. If the file still cannot be accessed and
- It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
- It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
4. If the problem persists, restore the file from a backup copy.
5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.
Additional Data
Error value: 00000000
Disk type: 0
- System
- Provider
[ Name] Application Error
- EventID 1005
[ Qualifiers] 49152
Level 2
Task 100
Keywords 0x80000000000000
EventRecordID for the three different times: 13645 - 13648 - 13651
- EventData
Lenovo® Multimedia and Communications Framework Custom Rundll
00000000
Faulting application name: lmcfrundll.exe, version: 5.0.9.73, time stamp: 0x54ab2d05
Faulting module name: ntdll.dll, version: 6.3.9600.17476, time stamp: 0x54516af9
Exception code: 0xc000007b
Fault offset: 0x000a36e5
Faulting process id: 0x644
Faulting application start time: 0x01d04337a63a774e
Faulting application path: C:\Windows\SysWOW64\lmcfrundll.exe
Faulting module path: C:\windows\SYSTEM32\ntdll.dll
Report Id: 33af5abb-af2b-11e4-8287-f87dd6bcf066
Faulting package full name:
Faulting package-relative application ID:
- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2015-02-08T00:41:22.000000000Z
EventRecordID 13650
Channel Application
Security
- EventData
lmcfrundll.exe
5.0.9.73
54ab2d05
ntdll.dll
6.3.9600.17476
54516af9
c000007b
000a36e5
644
01d04337a63a774e
C:\Windows\SysWOW64\lmcfrundll.exe
C:\windows\SYSTEM32\ntdll.dll
33af5abb-af2b-11e4-8287-f87dd6bcf066
Faulting application name: lmcfrundll.exe, version: 5.0.9.73, time stamp: 0x54ab2d05
Faulting module name: ntdll.dll, version: 6.3.9600.17476, time stamp: 0x54516af9
Exception code: 0xc000007b
Fault offset: 0x000a36e5
Faulting process id: 0x15e4
Faulting application start time: 0x01d04337a609bbd0
Faulting application path: C:\Windows\SysWOW64\lmcfrundll.exe
Faulting module path: C:\windows\SYSTEM32\ntdll.dll
Report Id: 33170cdc-af2b-11e4-8287-f87dd6bcf066
Faulting package full name:
Faulting package-relative application ID:
- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2015-02-08T00:41:21.000000000Z
EventRecordID 13647
Channel Application
Security
- EventData
lmcfrundll.exe
5.0.9.73
54ab2d05
ntdll.dll
6.3.9600.17476
54516af9
c000007b
000a36e5
15e4
01d04337a609bbd0
C:\Windows\SysWOW64\lmcfrundll.exe
C:\windows\SYSTEM32\ntdll.dll
33170cdc-af2b-11e4-8287-f87dd6bcf066
Faulting application name: lmcfrundll.exe, version: 5.0.9.73, time stamp: 0x54ab2d05
Faulting module name: ntdll.dll, version: 6.3.9600.17476, time stamp: 0x54516af9
Exception code: 0xc000007b
Fault offset: 0x000a36e5
Faulting process id: 0xb74
Faulting application start time: 0x01d04337a5c87954
Faulting application path: C:\Windows\SysWOW64\lmcfrundll.exe
Faulting module path: C:\windows\SYSTEM32\ntdll.dll
Report Id: 32206a90-af2b-11e4-8287-f87dd6bcf066
Faulting package full name:
Faulting package-relative application ID:
- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2015-02-08T00:41:19.000000000Z
EventRecordID 13644
Channel Application
Security
- EventData
lmcfrundll.exe
5.0.9.73
54ab2d05
ntdll.dll
6.3.9600.17476
54516af9
c000007b
000a36e5
b74
01d04337a5c87954
C:\Windows\SysWOW64\lmcfrundll.exe
C:\windows\SYSTEM32\ntdll.dll
32206a90-af2b-11e4-8287-f87dd6bcf066 -
Report server run problem (urgent plz)
i am using developer9i, xp opereting system but i am not able to run report server . infact i dont know where report server reside and how configure report server. otn discussion forum gave me below instructions but i need step by step detail to run report server.
pls help me.
i want to see (Please reffer to Note:204538.1 on
Metalink ) but i could not access metalink.
registration does not alow me. i have no country on
country list and no Support Identifier (CSI, SAC,
Access Code etc.) . but i need access.
please help me. access with path
thanks
mostafizDear see this information this is metalink information
Note:204538.1
Subject: Common Reasons & Troubleshooting: "Unable to communicate with the Reports Server"
Type: BULLETIN
Status: PUBLISHED
Content Type: TEXT/X-HTML
Creation Date: 22-JUL-2002
Last Revision Date: 08-MAR-2005
PURPOSE
========
The main purpose of this document is to list the known causes of the "Unable to
communicate with the Reports Server" error. The terms Reports Server, CGI,
Reports Servlet are also described briefly for a better explanation of this error scenario.
This document includes the following sections :
I. Brief summary on the architecture of Reports Server, CGI and Reports
Servlet
II. Sources of errors encountered when running a report with Reports Server
III. How the CGI (or the Reports Servlet) communicates with the Reports
Server
IV. Possible reasons which lead to "Unable to communicate with the Reports
Server" error.
1) Reports Server is up and running
2) tnsnames.ora and sqlnet.ora problems
3) Effect of parameter "ORACLE_HOME"
4) Effect of parameter "maxconnect"
5) Passing very large parameters to reports server
6) A case specific to OAS 4.0.8.2
7) A case specific to WEBDB version 2.1.0.9.3
V. References
I. Brief summary on the architecture of Reports Server, CGI and Reports Servlet
=================================================================================
In order to understand the causes of the error "Unable to communicate with the
Reports Server", let's first briefly review the Reports Runtime Engines, Reports
Server, the Reports CGI, and Reports Servlet architecture.
There are 4 important layers in Reports Server architecture which should be
understood in order to clearly understand the error "Unable to communicate with
the Reports Server" :
1) The Runtime Engines : This is the main layer where the reports are actually
executed. On unix systems there are "rwrun60" and on NT systems there are
"rwrun60.exe" processes.
2) The Reports Server : The Reports Server recieves the job request and queues
it. When one of its runtime engines becomes available, it sends the
command line to that runtime engine for execution. On Unix systems it is
the "rwmts60" executable and on NT systems it is "rwmts60.exe".
3) The Reports CGI : The Reports Web CGI passes the request to the Reports Server.
The Reports CGI or Servlet converts the request to a command line that can be executed by the Reports Server and
submits it to the specified Reports Server. On Unix platforms this executable
is "rwcgi60" and on NTs it is "rwcgi60.exe.
4) The Reports Servlet : Its functionality and function is just the same as "Reports CGI", but it is
a program written in Java as difference to the CGI program (which is
written in C programming language).
The Reports Server may be running on the same server with the CGI program (or
servlet) OR may reside totally on another machine which does not necessarily have
the same Operating System. For instance CGI may reside in a Windows NT machine
while the Reports server may reside on a Unix box, or any other combination with
Unix-Linux-NT-2000, etc.
The reports are called with a URL similar to below with the CGI :
http://fully.qualified.server.name:PORT/dev60cgi/rwcgi60.exe?server=<REPSERVER>&other_parameters=...........
where fully.qualified.server.name is the name of the server where the Reports CGI
reside, and <REPSERVER> is the name of the server.
II. Sources of errors encountered when running a report with Reports Server
============================================================================
The Reports Web CGI (or the Reports Servlet) makes a call to the Reports Server
and asks it to place the output into some destination (defined by DESTYPE and
DESNAME parameters), then gives back the necessary response to the calling
program. For example if the DESTYPE is "cache", then the Reports server generates
the report to a file in a temporary place and gives it back to CGI and the CGI gives
it back to the calling program. Otherwise, if the DESTYPE is "file", the Reports Server
generates the report output to the requested file and the CGI replies back the
following message : "Report output was successfully written to requested
destination.".
If there is any error in this process, the related error message is returned. The
possible sources of errors can be categorized as follows :
1) The errors that are returned from Reports Server; like the Reports Server can
not find the requested RDF file or the report may be run to file and the
directory where the reports output is asked to be placed does not occur or
similar errors. (Usually the REP-XXXX errors)
2) Another possible cause of error is the errors returned by the RDBMS to the
Reports Server, for example a table not found error or things like that. Of
course from the CGI point of view these errors are again transmitted from the
Reports Server but in fact the error originates from the RDBMS. (Usually the
ORA-XXXX errors)
3) Another possible cause of errors is the CGI itself, for example when the CGI
executable can not connect to the requested Reports Server, then we get the
famous "Unable to communicate with the Reports Server". In this document we will
diagnose the common reasons of this last error.
III. How the CGI (or the Reports Servlet) communicates with the Reports Server
===============================================================================
Having said that "Oracle Reports Server CGI - Unable to communicate with the
Reports Server." error is returned back from the CGI itself, let's discuss the
issue of how the Reports CGI connect to the Reports Server. The name of the
Reports Server given in the URL with "server=....." parameter is, in fact, just
a special tnsnames alias, similar to aliases for database connect strings. As it is
important for the CGI to resolve the alias, the CGI needs to know the HOST name (or the
IP) of the machine where the Reports Server is running and the port on which the
Reports Server is listening. So a typical Reports Server alias is defined as follows :
REP60_<MACHINE>=(ADDRESS = (PROTOCOL = tcp)(HOST = <MACHINE>)(PORT = <PORT>))
This is defined in tnsnames.ora file, and the sqlnet.ora file is also used in
the name resolving operation.
IV. Possible reasons which lead to "Unable to communicate with the Reports Server" error.
==========================================================================================
The possible reasons for the "Unable to communicate with the Reports Server" error :
1) Reports Server is up and running :
Make sure that the Reports Server is really running on the specified server
and listening on the specified port. For details have a look at above
explanations for tnsnames alias of the reports server. And because of this the
CGI could not establish a connection to the Reports Server.
2) tnsnames.ora and sqlnet.ora problems :
As described above, the CGI resolves the details for the reports server using
the "tnsnames.ora" and "sqlnet.ora" files. There may be a problem with them,
here are the possible configuration problems :
a) There is no alias in the tnsnames.ora file for this Reports Server
b) The CGI looks into the wrong directory for the "tnsnames.ora" and "sqlnet.ora"
files. By default the CGI checks the $ORACLE_HOME/net80/admin directory for
these scripts, where the $ORACLE_HOME is the home of the Forms & Reports
installation. Please note that in a typical 9iAS 1.0.X installation there
are two ORACLE_HOME's, one is for the iAS and the other is for the tools,
usually the home for the tools is a directory with name "806" on NT and
"6iserver" on unix systems. By defining TNS_ADMIN in the environment, one
can override the search path for these two files.
The TNS_ADMIN variable can be defined in one of the following places :
i) In the environment : On MS Windows platforms check the "Settings
--> Control Panel --> System". On NTs check the environment TAB and in
Win2K systems check the "Environment Variables" button on Advanced tab.
ii) In "6iserver.conf" file. Details are as follows : The main configuration
file for Apache server is "httpd.conf" file which resides in
$IAS_HOME/Apache/Apache/conf directory. In this file there is a line to
include "oracle_apache.conf" and in this "oracle_apache.conf" file
there is a line to include "$ORACLE_HOME/conf/6iserver.conf" file. And
in this file the TNS_ADMIN variable could be defined as follows :
SetEnvIf Request_URI "rwcgi60" TNS_ADMIN=c:\orant\network\ADMIN
Please note that by defining it this way, the TNS_ADMIN will only be defined
for "rwcgi60" calls, so the other parts of the 9iAS will not be affected by
this setting.
c) In sqlnet.ora the "names.default_domain" is set but in tnsnames.ora the
domain is not defined in the alias description. For example if the
"names.default_domain=world" is present and active in "sqlnet.ora" file
then in the "tnsnames.ora" the alias of the reports server should also have
the ".world" extension appended at the end. And another cause is of course
the vice versa for this. If there is no "names.default_domain" is defined
in the "sqlnet.ora" then the alias in "tnsnames.ora" should not have the
domain extension.
Another important point that should be checked is, if TNS_ADMIN is defined
as described above then the search path is as follows, first the directory
defined by TNS_ADMIN is searched, if the "tnsnames.ora" file is not found in
this directory then $ORACLE_HOME/net80/admin is checked. (And on unix systems
/var/opt/oracle is also checked). These directories are only checked if the file
is not present, so if the "tnsnames.ora" file is present in TNS_ADMIN directory
but the alias is not present, then the other directories are not checked at all.
Let us assume that the tnsnames.ora file is present in the TNS_ADMIN directory but
there is no "sqlnet.ora" files here, then the sqlnet.ora file is checked in
$ORACLE_HOME/net80/admin directory, which could cause the same problem if the
"names.default_domain" is defined in this file.
All the above will result in, CGI to unable to resolve the alias in tnsnames.ora
file so it will not be able to establish a connection to the Reports Server.
3) Wrong "ORACLE_HOME" setting :
Wrong ORACLE_HOME setting. This is usually the case for Reports Servlet,
because the environment settings are defined in "jserv.properties" file for the
servlets and the setting here will effect both the Reports Servlet and the
setting for Oracle JSP and other servlets. So the other servlets or Oracle JSP
may need to set ORACLE_HOME to home of HTTP server while the reports server needs
it to be set to the TOOLS_HOME directory. In this case the best alternative is
not to set ORACLE_HOME in this directory and leave it to registry or defined the
ORACLE_HOME in "6iserver.conf" file just like the TNS_ADMIN defined above. For
details please have a look at the following document :
Note 179609.1 "Getting an error Unable to communicate with the Reports Server
using RWSERVLET"
4) Effect of parameter "maxconnect" :
Another common case for this error is that the CGI request reaches the Reports Server but
the Reports Server refuses connection. The main cause for this case is, that the Reports Server
configuration parameter "maxconnect" is defined too low, there are long running reports on the
server or the server is too busy at that time. Usually a second try some
later time results in a successful connection. If this is the case, the end user
may think that the problem is occasional. For details on this case please
have a look at the following document :
Note 125265.1 "Unable to communicate with the Reports Server"
5) Passing very large parameters to reports server :
Another known reason for this error is, if you are passing large parameters
to the Reports Server which exceeds sqlnet transmission blocks then the request may
end up with this error. To test it try with small parameter values. If you hit
this case, the solution is to increase the SDU (Session data unit size) and the TDU
(Transport unit data size) parameters in tnsnames.ora file, for details please
have a look at the following document :
Note 197358.1 "Passing large parameters to Reports show up a Reports Server
error"
6) A case specific to OAS 4.0.8.2 :
If you are using OAS instead of iAS, and the error appeared after
upgrading to 4.0.8.2 then this is caused because the 4.0.8.2 is using RSF
(Required Support Files) version 8.1.6 and the Reports 6i is using 8.0.6 and the
two could not reside in the same ORACLE_HOME directory. So the solution for this
problem is to create a new batch file and use it from which the actual CGI
executable is called. For details please see the following document :
Note 116754.1 "After applying OAS 4.0.8.2 CGI and Cartridge cannot communicate
to report server"
7) A case specific to WEBDB version 2.1.0.9.3 :
Another known case for this error is with WEBDB version 2.1.0.9.3 or less.
If you are using these old versions of WEBDB as HTTP listener, please have a
look at the following document :
Note 95426.1 "URL Not Found When Calling Oracle Developer Report from WebDB Site"On Windows you can create a Report Services:
rwserver -install server=repserverYou have to choose different names for all servers, like your collegue cannot create a server with the same name. You can start/stop this Report server in Services (control panel). Configuration files can be found under $ORACLE_HOME/reports/conf
Martin -
BI publisher report running problem
Hi All,
I am new in BI, I have facing a problem that when i run the report in BI publisher it returns the following error:
The report cannot be rendered beacause of an error,Please contact the administrator. When i click the detailed error button there is one more eorro " iLLegal pattern character '0'
Please help me in this regard
Regardssounds like an error in your template.
Can u preview your template in MS Word using a sample XML data file?? -
Dreamweaver CS3 First Run problems
Installing Dreamweaver CS3 Saga.
I've had some trouble and despite looking for answers and
trying a few things I'm getting nowhere. I've included a timeline
of events below to help explain.
0) System: New Dell Opliplex 745 running XP Pro Sp2 and
networked to a domain. Educational License ordered for MOPS school.
Disk delivered.
1) Tried installing in regular user's account. When it
prompted for admin details, I entered them, but it didn't work.
Insufficient rights to install, fair enough.
2) Logged on as domain admin. Tried installing. Failed!
Insufficient rights. Hmmm.
3) Logged on to local computer as administrator. Installed.
Success! However, could not find the serial number so selected
"trial" option. All worked ok. Emailed supplier to find out why
serial was not included with disk.
4) Gave regular user full admin rights on computer to avoid
future hassles.
5) Obtained serial from supplier (it was on the invoice).
Entered serial number while logged on as user. Dreamweaver accepted
serial but then a blank dialog box (titled Adobe Dreamweaver CS3)
opened over the top of the rest of Dreamweaver and froze up access
to Dreamweaver. Can't close box, can't interact with box apart from
moving it around over the top of DW. It doesn't count as a separate
window in the task bar.
6) Ended Dreamweaver process, loaded it again. Blank dialog
box appeared yet again however Dreamweaver began some adobe
updating. ~140mb download. Around 20mb in, some files began
installing - so far so good. Then, adobe updater vanished and we're
back to frozen dialog box.
7) Restarted computer. Logged on as user again, ran
Dreamweaver again. Frozen blank dialog box again HOWEVER I did find
that if I was quick I could interact normally with Dreamweaver,
open files, etc for a few seconds until dialog box kicks in. Also
when ending the task instead of ending the process, the windows
message says "The system cannot end this program because it is
waiting for a response from you. To return to windows and check the
status of the program, click cancel. If you choose to end the
program immediately, you will lose any unsaved data. To end the
program, click End Now." Obviously this refers to the blank dialog
box but I can't interact with the box so I can't respond to DW.
8) Remembering previous troubles, logged off and logged on to
local machine as administrator. Ran Dreamweaver again. This time an
initial dialog box asking about file associations popped up. Then,
Adobe update began running, this time 120mb download. Once again,
around 20mb in, some files installed and then Dreamweaver frozen
dialog box once more is revealed. The rest of the updates are
nowhere to be seen, adobe updater does not seem to be running any
more.
9) Found an issue in forums with corrupt Bonjour installation
causing DNS trouble. Figured this might be affecting the updates,
uninstalled the service as outlined elsewhere on this forum. Did
not help.
10) Decided to attempt a repair install from the disk. It
seemed to work but then only the shared components seemed to
install. But underneath that in the installation window, it said
both Dreamweaver and the Shared Components failed to install. So
did it fail or did it not fail? Your guess is as good as mine.
11) Ran Dreamweaver again. This time, a green "scrolling
credits" style window appeared, with "Click here to continue". Upon
clicking, the credits window disappeared and all looked well. I
alt-tabbed to something else but when I went back into Dreamweaver
the blank dialog window was back again.
I've searched the net, and scanned these forums but I am
unable to find a similar issue or any clue as to how to proceed
next.
I am going to try to uninstall Dreamweaver and reinstall it
fully, while logged on as local admin, probably I will use the CS3
clean script that I found on the forums to make sure its all gone;
and then I will enter the serial at the same time as installation
to avoid ever triggering the trial installation conditions. In the
meantime if anyone has any suggestions feel free to chip in with
ideas.
PS Further information which I just remembered: Internet
access is restricted by a proxy. Adobe updater worked fine after
giving it username and password to log on to the proxy. Perhaps
this frozen screen is trying to access the internet?Further information - when I tried to uninstall I was advised
by the uninstaller that I should deactivate CS3. But I couldn't
find how to do that in the few seconds before everything freezes.
I had an inspiration to pull the network plug out and sure
enough, the frozen window became a window which reads:
Dreamweaver is unable to connect to the internet to register
your product. I selected "Register Never" so hopefully this will
fix my problem! -
Dear Gurus,
We had 100 open items for venders. We decided to pay all of them and done all the settings in F110.The problem is that payment cleared for the 60 items and left 40 items.What whould be the reason? How to make payment rest of them?
Once again we have to start from the biggining?
kinldy give me the solutions
Thanks in advance
Moderator: Please, avoid asking basic questions. Make some research before postingHi,
Document not included in payment run can have different reasons-
1. Document is not due till date of payment
2. Document is blocked for payment
As per your information it seems you have completed payment run. hence now you check the documents for the not paid reason and run payment run for those documents.
Regards
Milind -
F110 Payment run - problem with DME file
We are using a custom Payment medium Program for Colombia to generate a DME file. The problem is that after scheduling the Payment Run the user is trying to download the DME File into a folder on the PC to send to the bank. When the user clicks on the export file button the message says:
'There is no source for the data record'.
We tested this thoroughly in the Test environment and the user was able to download the file. But for some strange reason this is not happening in our production. The user has proper authorizations w.r.t F110 and FDTA transaction codes.
I am not sure if this would be useful but when the user gets this message the SU53 screenshot shows Authorization failure to the object P_ABAP HR: Reporting. The Object class is HR Human Resources and the ABAP Program name is SAPMFDTA.
I am not able to understand why we get this because my client does not use SAP HR module.
Please let me know how to resolve this.
Regards,
Raj/Hello,
Please check the variant in OBPM4. To down load the file to PC, you special authorization and it is not rcommended as these files are very critical and changing to PC would allow the user to modify them.
These files are being downloaded to application servers. You can see the folders in AL11.
In OBPM1, you have enabled "DME file output".
Hope this solves your problem.
Regards,
Ravi -
Avoid MathScipt Comments in EXE, Build & Run Problems - NI Please Fix these Bugs!
Hello,
After 4 days of intensive work, I have finally found the solution for two major MathScript Problems:
1) Mathscript Comments are included in your EXE File !!
- Yes, if you do not watch your steps, the EXE will include all your % Mathscript Comments!
2) Problems building, but even worse: An app that builds with NO Error and NO Warnings will not RUN and creates the following misleading Erro Message:
"The VI is not Executable. The full development version of LabView is required to fix the errors"
With absolutely NO hint to what VI have the problem.
I have made myself an internal note how to avoid this problem. I am using LabView 2009, 2010 DS1 Release (I think this is 9.01) under WInXP SP2.
Rather than retyping everything, I will post the full text of my Notes below. I also mention several other LV BUG in this note, so pleae read carefully.
One is the TagSrv Error that occurs in LabView 2009 if I programatically deploy Shared Variables under the WinXP Development Environment. After this problem has occured, it will occur every time I restart XP, and in essense I have to restore to before I did this (thanks Nortong Ghost !!!).
Below you can find the full unabridged version of my Build, Run and Bug Notes for LV 2009 / 2010 DS1 (9.01). Hope they can be helpful to my fellow LabView programmers!
2010-07-03:
Building under LabView 2009 / 2010 DS1 Release (version 9.01)
Follow the steps below:
a) To successfully build an EXE that also runs
b) Avoid that MathScript Comments are included in the EXE !!!!!!!!!!!!!!!!
Before Building:
I) Recompile All by pressing Ctrl+Shift and pressing the RUN button on the Application_References.vi
Then Save All (about 1200 Vis are saved)
II) Make Sure that NO User Defined Mathscript (and Mathscript Nodes?) define Empty Functions:
This seemed to cause the following problem with the built EXE: The main VI will be broken, and a dialog reports:
"The VI is not Executable. The full development version of LabView is required to fix the errors"
MathScitp BUG: Empty Functions causes no Build Errorm but RUN Error:
The following User Defined MathScript .m files are candidates:
log_write() and log_clear() whith do_log_write() and do_log_clear() commented out, these functions are empty.
When calls to log_write() and log_clear() where removed, the problem above vanished !
Building the EXE:
1) Additional Exclusions:
-"Disconnect type definitions": YES
- "Remove unused polymorphic VI instantces": YES
- "Remove unused members of project libraries": NO (do not know if this is important)
2) Advanced:
- Enable Debugging: "NO"
3) Mathscript BUG: The Application Builder Includes ALL MathScript Comments in the EXE if you use the New Build File Layout:
IMPORTANT !!!!!!!!!!!!!
Advanced:
"Use LabView 8.x file layout": YES !!!!!!!
Using the new layout, causes ALL COMMENTS FROM USER DEFINED MATHSCRIPT .M FILES TO BE INCLUDED IN THE .EXE !!!!!!!
4) BUG: DSC Reference Problem in LabView 2010 DS1 release:
In VI Deploy_Shared_Variables.vi we deploy alle Shared Variables using the "Deploy Libraries.vi" which is a part of the DSC option.
As long as only deploying of Variables is used, using this VI should NOT require any DSC Runtime license.
We have used this before with no compilation problems.
However, starting with LV 2009 SP1 (or was it the DS1 2010 upgrade) LV will start nagging us to resolve references to tens of VIs
in the DSC lib file ! Solution: Used press "Stop" on the dialog, and the Build will succeed and the EXE will work !
Optionally, we could use the following Invoke node for the deployment:
(see: http://digital.ni.com/public.nsf/allkb/04D9A85B6967EE87862571140065EEC6). Excerpt from this description:
<<Right-click the block diagram to bring up the programming palette and go to Programming»Application Control and place the
Invoke Node on the block diagram. Using the hand tool, click Method and select Library»Deploy Library>>
5) LabView BUG: Do NOT RUn the Application under the WIn XP SP2 Development Environment if the APP Deploys Shared Vars:
This will cause the Dreaded TagSrv Error: "TagSrv.exe: This application has requested the runtime to terminate in an unusual way".
After this Error has occured, it will reoccur each time WinXP SP2 is restarted, and (Network) Shared Variables will NOT work any more!
Geir Ove
Attachments:
LabView_Tagsrv_Error.jpg 26 KBHello Geir,
I have tried to reproduce the behavior you are seeing where .m file comments appear in the final built executable. However, I am unable to do so using LabVIEW 2009 SP1. I have a caller VI with a MathScript node that calls the adder function in adder.m. The contents of adder.m are as follows:
% ADDER This function adds 3 to its input variable
% y = adder(x)
% INPUT: x
% OUTPUT: y, equal to x + 3
function y = adder(x)
y = x + 3;
I have configured the build specification as you mention in steps (1) and (2):
Additional Exclusions
- "Disconnect type definitions" Yes
- "Remove unused polymorphic VI instances" Yes
- "Remove unused members of project libraries" No
Advanced
- "Enable Debugging" No
At first, I did not include the adder.m file in the project. I built the application and was not able to find the text "adder" anywhere in the EXE. Then, I added the .m file to the project and put it in the "Always Included" section in "Source Files." Again, I was not able to find the search text in the built EXE. In step 3, you mention
geirove wrote:
"Use LabView 8.x file layout": YES !!!!!!!
but in the 5th post in this thread, you state
geirove wrote:
Compile using the new compile method ( Use LabView 8.x file layout": NO),
I have tried both settings in the Advanced section, but again, I am not able to find any comments in the EXE. I even added a call to the "path" function in adder.m. This puts a warning glyph on the caller MathScript node and generates different code. The EXE will return an unknown symbol error for adder (any VI with a warning glyph will not work in a built app), but I am not able to find any comments in the EXE. This project is attached below.
As for your other item with a broken EXE if you call empty functions, I am unable to reproduce this as well. I have taken the last attachment to your third post in this thread (the log_write function) and called it from the caller VI as well. The EXE runs just fine and I do not find any comments in this EXE either.
Unfortunately, there was a rather serious issue in the LabVIEW 2009 MathScript RT Module, where some internal MathScript VIs could become corrupted when building executables. Have you tried running the "Find Bad Instantiations" tool from this Knowledge Base article? Simply installing the SP1 version on top may not have corrected any VIs that may be corrupted.
Due to our difficulty in reproducing the issues you mention, could you modify the attached project or else attach a new project, appropriately configured, that builds an EXE with .m comments embedded in it? This way, we can uncover any minute details that we're overlooking.
Grant M.
Senior Software Engineer | LabVIEW MathScript | National Instruments
Attachments:
MComments.zip 186 KB
Maybe you are looking for
-
Hide Services for Object button in PR05 Tcode
Hi We have a requirement to hide the Services for Object Button in PR05 TCode. Is there any way to hide it. Is there any table that I have to update with any class. Thanks Arghadip
-
Fetch join with Native SQL Query?
Hello all, I am using the J2EE 5.0 persistence api with the SUN appserver v9. As the java persistence api does not yet support spatial queries ("... where contains(polygon, point)") I have to use native SQL queries for that purpose. Now my question i
-
if i make a .mac site using iweb08, will i be able to include/create a clicky to a shopping cart that allows people to buy my cd online? i don't see anything about this. will i have to use a service like ixwebhosting, and if so, will i have to use so
-
Since I upgraded to IOS 7.0.2, many times I am unable to answer the calls. Then I have to switch off and on to answer the calls. I checked with my three friends who updated and they are also facing same problem. Kindly let me know the solution.
-
I know you can rearange apps on iphone by holding the some but is there a easier way to do it like on itunes or something. I have a lot of apps to put on different pages.