INITIAL vs. NOT BOUND
Could you explain me the difference? I understand that IS BOUND is to know if a reference holds an instance of an object. But using INITIAL appears to fulfill this requirement also, so there must be other difference I'm not seeing.
I've done this code for testing this and the output is
<b>INITIAL before CREATE OBJECT: TRUE
NOT BOUND before CREATE OBJECT: TRUE
INITIAL after CREATE OBJECT: FALSE
NOT BOUND after CREATE OBJECT: FALSE
INITIAL after CLEAR: TRUE
NOT BOUND after CLEAR: TRUE</b>
CLASS lcl_test DEFINITION.
PUBLIC SECTION.
DATA:
atrib1 TYPE i.
METHODS:
constructor.
ENDCLASS. "lcl_test DEFINITION
* CLASS lcl_test IMPLEMENTATION
CLASS lcl_test IMPLEMENTATION.
METHOD constructor.
atrib1 = 1.
ENDMETHOD. "lcl_test
ENDCLASS. "lcl_test DEFINITION
CONSTANTS: c_true TYPE string VALUE 'TRUE',
c_false TYPE string VALUE 'FALSE'.
DATA: o_test TYPE REF TO lcl_test,
g_bool TYPE string.
START-OF-SELECTION.
IF o_test IS INITIAL.
g_bool = c_true.
ELSE.
g_bool = c_false.
ENDIF.
WRITE: /,'INITIAL before CREATE OBJECT:',g_bool.
IF o_test IS NOT BOUND.
g_bool = c_true.
ELSE.
g_bool = c_false.
ENDIF.
WRITE: /,'NOT BOUND before CREATE OBJECT:',g_bool.
CREATE OBJECT o_test.
IF o_test IS INITIAL.
g_bool = c_true.
ELSE.
g_bool = c_false.
ENDIF.
WRITE: /,'INITIAL after CREATE OBJECT:',g_bool.
IF o_test IS NOT BOUND.
g_bool = c_true.
ELSE.
g_bool = c_false.
ENDIF.
WRITE: /,'NOT BOUND after CREATE OBJECT:',g_bool.
CLEAR o_test.
IF o_test IS INITIAL.
g_bool = c_true.
ELSE.
g_bool = c_false.
ENDIF.
WRITE: /,'INITIAL after CLEAR:',g_bool.
IF o_test IS NOT BOUND.
g_bool = c_true.
ELSE.
g_bool = c_false.
ENDIF.
WRITE: /,'NOT BOUND after CLEAR:',g_bool.
Could you please explain the difference?
Thanks
Message was edited by:
Alejandro Bindi
The <u>ref IS [NOT] BOUND</u> statement queries whether reference variable ref contains a valid reference. <i>ref</i> has to be a data reference variable or object reference variable here.
When a data reference is involved, this logical expression is true if it can be dereferenced; when an object reference is involved, it is true if it points to an object. The logical expression is always false if <i>ref</i> contains the null reference.
In comparison, the logical expression <u>ref IS [NOT] INITIAL</u> merely lets you determine whether or not <i>ref</i> contains the null reference.
A little bit philosophical
Similar Messages
-
BT126S_APPT- Activity Search Result View Not Bound
Hi experts,
When search the activities the information is not populated and appears the following message, "OBJECT_IDNotBound" and "BTQRAct not bound". This message appears at the standard role and the Z role.
Any idea?
Thank you!
DavidThis error comes when the attributes are either initial or not bound.
So to remove this error and show the initial value for the attributes you have to assign one parameter to the User under TCode su01 or su3 as given below:
BSPWD_SHOW_NOT_BOUND with value as N.
Thanks
Kumar -
Hi I am new to EJB . Now in our project we are using ejb3 and persistance. So tried
a simple program which I found out from net. But when I am trying to run I am getting
bean not bound. And in JBoss console it is showing error like
ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS State: NOTYETINSTALLED
These are all my files.
Book.java
package de.laliluna.library;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
@Entity
@Table(name="book")
@SequenceGenerator(name = "book_sequence", sequenceName = "book_id_seq")
public class Book implements Serializable {
private static final long serialVersionUID = 7422574264557894633L;
private Integer id;
private String title;
private String author;
public Book() {
super();
public Book(Integer id, String title, String author) {
super();
this.id = id;
this.title = title;
this.author = author;
@Override
public String toString() {
return "Book: " + getId() + " Title " + getTitle() + " Author "
+ getAuthor();
public String getAuthor() {
return author;
public void setAuthor(String author) {
this.author = author;
@Id
@GeneratedValue(strategy = GenerationType.TABLE, generator = "book_id")
public Integer getId() {
return id;
public void setId(Integer id) {
this.id = id;
public String getTitle() {
return title;
public void setTitle(String title) {
this.title = title;
}BookTestBean.java
package de.laliluna.library;
import java.util.Iterator;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
@Stateless
public class BookTestBean implements BookTestBeanLocal, BookTestBeanRemote {
@PersistenceContext(name="FirstEjb3Tutorial")
EntityManager em;
public static final String RemoteJNDIName = BookTestBean.class.getSimpleName() + "/remote";
public static final String LocalJNDIName = BookTestBean.class.getSimpleName() + "/local";
public void test() {
Book book = new Book(null, "My first bean book", "Sebastian");
em.persist(book);
Book book2 = new Book(null, "another book", "Paul");
em.persist(book2);
Book book3 = new Book(null, "EJB 3 developer guide, comes soon",
"Sebastian");
em.persist(book3);
System.out.println("list some books");
List someBooks = em.createQuery("from Book b where b.author=:name")
.setParameter("name", "Sebastian").getResultList();
for (Iterator iter = someBooks.iterator(); iter.hasNext();)
Book element = (Book) iter.next();
System.out.println(element);
System.out.println("List all books");
List allBooks = em.createQuery("from Book").getResultList();
for (Iterator iter = allBooks.iterator(); iter.hasNext();)
Book element = (Book) iter.next();
System.out.println(element);
System.out.println("delete a book");
em.remove(book2);
System.out.println("List all books");
allBooks = em.createQuery("from Book").getResultList();
for (Iterator iter = allBooks.iterator(); iter.hasNext();)
Book element = (Book) iter.next();
System.out.println(element);
}BookTestBeanLocal.java
package de.laliluna.library;
import javax.ejb.Local;
@Local
public interface BookTestBeanLocal {
public void test();
}BookTestBeanRemote.java
package de.laliluna.library;
import javax.ejb.Remote;
@Remote
public interface BookTestBeanRemote {
public void test();
}client part--> FirstEJB3TutorialClient.java
package de.laliluna.library;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import de.laliluna.library.BookTestBean;
import de.laliluna.library.BookTestBeanRemote;
* @author hennebrueder
public class FirstEJB3TutorialClient {
* @param args
public static void main(String[] args) {
* get a initial context. By default the settings in the file
* jndi.properties are used. You can explicitly set up properties
* instead of using the file.
Properties properties = new Properties();
properties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
properties.put("java.naming.factory.url.pkgs","=org.jboss.naming:org.jnp.interfaces");
properties.put("java.naming.provider.url","localhost:1099");
Context context;
try {
context = new InitialContext(properties);
BookTestBeanRemote beanRemote = (BookTestBeanRemote) context
.lookup(BookTestBean.RemoteJNDIName);
beanRemote.test();
} catch (NamingException e) {
e.printStackTrace();
* I rethrow it as runtimeexception as there is really no need to
* continue if an exception happens and I do not want to catch it
* everywhere.
throw new RuntimeException(e);
}I have created persistance.xml and application.xml under META-INF folder.
persistance.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence>
<persistence-unit name="FirstEjb3Tutorial">
<jta-data-source>hsqldb-db</jta-data-source>
<properties>
<property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
</properties>
</persistence-unit>
</persistence>application.xml
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
<display-name>Stateless Session Bean Example</display-name>
<module>
<ejb>FirstEjb3Tutorial.jar</ejb>
</module>
</application>and in hsqldb-ds i have configured the driver and connection
<datasources>
<local-tx-datasource>
<!-- The jndi name of the DataSource, it is prefixed with java:/ -->
<!-- Datasources are not available outside the virtual machine -->
<jndi-name>ejb3ProjectDS</jndi-name>
<!-- For server mode db, allowing other processes to use hsqldb over tcp.
This requires the org.jboss.jdbc.HypersonicDatabase mbean.
<connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
-->
<!-- For totally in-memory db, not saved when jboss stops.
The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
<connection-url>jdbc:hsqldb:.</connection-url>
-->
<!-- For in-process persistent db, saved when jboss stops.
The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
-->
<!-- <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url-->
<connection-url>jdbc:hsqldb:data/tutorial</connection-url>
<!-- The driver class -->
<driver-class>org.hsqldb.jdbcDriver</driver-class>
<!-- The login and password -->
<user-name>sa</user-name>
<password></password>
<!--example of how to specify class that determines if exception means connection should be destroyed-->
<!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
<!-- this will be run before a managed connection is removed from the pool for use by a client-->
<!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
<!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
<min-pool-size>5</min-pool-size>
<!-- The maximum connections in a pool/sub-pool -->
<max-pool-size>20</max-pool-size>
<!-- The time before an unused connection is destroyed -->
<!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
<!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
<idle-timeout-minutes>0</idle-timeout-minutes>
<!-- sql to call when connection is created
<new-connection-sql>some arbitrary sql</new-connection-sql>
-->
<!-- sql to call on an existing pooled connection when it is obtained from pool
<check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
-->
<!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
-->
<!-- Whether to check all statements are closed when the connection is returned to the pool,
this is a debugging feature that should be turned off in production -->
<track-statements/>
<!-- Use the getConnection(user, pw) for logins
<application-managed-security/>
-->
<!-- Use the security domain defined in conf/login-config.xml -->
<security-domain>HsqlDbRealm</security-domain>
<!-- Use the security domain defined in conf/login-config.xml or the
getConnection(user, pw) for logins. The security domain takes precedence.
<security-domain-and-application>HsqlDbRealm</security-domain-and-application>
-->
<!-- HSQL DB benefits from prepared statement caching -->
<prepared-statement-cache-size>32</prepared-statement-cache-size>
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
<metadata>
<type-mapping>Hypersonic SQL</type-mapping>
</metadata>
<!-- When using in-process (standalone) mode -->
<depends>jboss:service=Hypersonic,database=localDB</depends>
<!-- Uncomment when using hsqldb in server mode
<depends>jboss:service=Hypersonic</depends>
-->
</local-tx-datasource>
<!-- Uncomment if you want hsqldb accessed over tcp (server mode)
<mbean code="org.jboss.jdbc.HypersonicDatabase"
name="jboss:service=Hypersonic">
<attribute name="Port">1701</attribute>
<attribute name="BindAddress">${jboss.bind.address}</attribute>
<attribute name="Silent">true</attribute>
<attribute name="Database">default</attribute>
<attribute name="Trace">false</attribute>
<attribute name="No_system_exit">true</attribute>
</mbean>
-->
<!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
<mbean code="org.jboss.jdbc.HypersonicDatabase"
name="jboss:service=Hypersonic,database=localDB">
<attribute name="Database">localDB</attribute>
<attribute name="InProcessMode">true</attribute>
</mbean>
</datasources>.
Edited by: bhanu on Dec 2, 2008 9:45 AMHi jadespirit ,
I have the same problem in the same Book example ,my ejb3 project name "BaseHotele" so i follow what u said and this is my persistence.xml:
<?xml version="1.0" encoding="UTF-8"?>
<persistence>
<persistence-unit name="FirstEjb3Tutorial">
*<jta-data-source>java:BaseHoteleDS</jta-data-source>*
<properties>
<property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
</properties>
</persistence-unit>
</persistence>
But it didn't work i have always HotelTestBean not bound!!
Help PLEASE i think that i had a mistake in the persistence.xml:i have 2 days searching for solutions without a good result!!!!!!!!!!!!! -
Exception is thrown "mydb is not bound"(needs urgent help)
We r three students and our final project is a BPM(Business peocess Management)system.
BPM is actually a workflow system(managing the business processes)and all the rules and constraints are applied from the Rule Management System.
we have started the implementation, and therefore we need some help related to the implementation.
We r using EJB2.0 with JBuilder9, JBoss3.2 as the application server and tomcate as the web server.
problem:
I want to create manual database connection using DataSource,
I am using mysql and database name is mydb.
I have done all the reqiured configration of mysql with Joss and it is working.
After getting the initial context, when i try to lookup the datasource, exception is thrown "mydb is not bound"
Initial context is correct because i have tried entity beans asd it works well.
code is
Hashtable contextValues = new Hashtable();
contextValues.put(Context.PROVIDER_URL, "jnp://loopback:1099");
contextValues.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
Context context = new InitialContext(contextValues);
context.lookup("java://mydb");
Kindly help me if u find time,
regards!try java:comp/env/jdbc/mydb or java:comp/env/mydb
-
Hi,
I have a scenario where in i have to pass data from view1 of Component 1 to View 2 of Component2.
As i understand , this is possible only through the component controllers.
while achieving this,I am facing a problem in the initial step itself.
My View 1 has a context node BTADMINH and i have created a similar node in the comp.controller and have binded them using this code
iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_COMPONENT
iv_target_node_name = 'BTADMINH'
iv_node_2_bind = BTADMINH )
I have created 2 input fields in my view using these attributes.When i test the view i get the value BTADMINH not bound in both the input fields.
Please guide me through to resolve the problem.
Best Regards
Uma ThirugnanamHi Yevgen,
Definitely. Sorry if i had not mentioned that. The BOL entity exists for the context nodes in both View controller and Component Controller.The nodes were basically created out of the BOL Entity named 'BTADMINH' itself.
does your context node contain some value in runtime?
The Two attributes that i have selected as modal attributes in the view are basically input fields. So i need to enter them once the view gets loaded.
Best Regards
Uma Thirugnanam
Edited by: Uma Thirugnanam on Jul 15, 2008 3:15 PM -
Error: ConnectionFactory not bound
Hi,
I have created a method in session bean to send message. below is the code of my method
public void sendMessage() throws NamingException,JMSException{
QueueConnectionFactory cf;
QueueConnection connection;
QueueSession session;
Queue destination;
QueueSender sender;
TextMessage message;
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env.put(Context.PROVIDER_URL,
"localhost:1099");
Context ctx = new InitialContext(env);
//ctx = new InitialContext();
cf = (QueueConnectionFactory)ctx.lookup("ConnectionFactory");
destination = (Queue)ctx.lookup("queue/testQueue");
connection = cf.createQueueConnection();
session = connection.createQueueSession(false,
Session.AUTO_ACKNOWLEDGE);
sender = session.createSender(destination);
message = session.createTextMessage();
message.setText("Hello World1!");
System.out.println("Sending Message.");
sender.send(message);
connection.close();
System.out.println("Done.");
I am getting the following error in the browser
javax.naming.NameNotFoundException: ConnectionFactory not bound
Can anyone tell me why this error is coming
ThanksI am getting the following errors in the console. Please check it
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-4.0.1\bin\\..
JAVA: D:\j2sdk1.4.2_07\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
CLASSPATH: D:\j2sdk1.4.2_07\lib\tools.jar;C:\jboss-4.0.1\bin\\run.jar
===============================================================================
14:31:23,312 INFO [Server] Starting JBoss (MX MicroKernel)...
14:31:23,312 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)
14:31:23,312 INFO [Server] Home Dir: C:\jboss-4.0.1
14:31:23,312 INFO [Server] Home URL: file:/C:/jboss-4.0.1/
14:31:23,312 INFO [Server] Library URL: file:/C:/jboss-4.0.1/lib/
14:31:23,312 INFO [Server] Patch URL: null
14:31:23,312 INFO [Server] Server Name: default
14:31:23,328 INFO [Server] Server Home Dir: C:\jboss-4.0.1\server\default
14:31:23,328 INFO [Server] Server Home URL: file:/C:/jboss-4.0.1/server/default/
14:31:23,328 INFO [Server] Server Data Dir: C:\jboss-4.0.1\server\default\data
14:31:23,328 INFO [Server] Server Temp Dir: C:\jboss-4.0.1\server\default\tmp
14:31:23,343 INFO [Server] Server Config URL: file:/C:/jboss-4.0.1/server/default/conf/
14:31:23,343 INFO [Server] Server Library URL: file:/C:/jboss-4.0.1/server/default/lib/
14:31:23,343 INFO [Server] Root Deployment Filename: jboss-service.xml
14:31:23,343 INFO [Server] Starting General Purpose Architecture (GPA)...
14:31:24,312 INFO [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc.
14:31:24,312 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_07-b05,Sun Microsystems Inc.
14:31:24,312 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
14:31:25,203 INFO [Server] Core system initialized
14:31:28,468 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
14:31:28,828 INFO [WebService] Using RMI server codebase: http://Mukti:8083/
14:31:29,140 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
14:31:38,968 INFO [Embedded] Catalina naming disabled
14:31:40,250 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
14:31:40,343 INFO [Catalina] Initialization processed in 1203 ms
14:31:40,343 INFO [StandardService] Starting service jboss.web
14:31:40,359 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
14:31:40,421 INFO [StandardHost] XML validation disabled
14:31:40,453 INFO [Catalina] Server startup in 110 ms
14:31:40,750 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/http-invoker.sar/invoker.war/
14:31:42,859 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp4763jboss-ws4ee-exp.war/
14:31:43,234 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
14:31:43,703 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
14:31:48,765 INFO [MailService] Mail Service bound to java:/Mail
14:31:49,984 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.1/server/default/deploy/jboss-local-jdbc.rar
14:31:50,375 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.1/server/default/deploy/jboss-xa-jdbc.rar
14:31:50,734 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.1/server/default/deploy/jms/jms-ra.rar
14:31:51,046 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.1/server/default/deploy/mail-ra.rar
14:31:51,968 ERROR [HypersonicDatabase] Starting failed jboss:database=localDB,service=Hypersonic
java.sql.SQLException: General error: java.lang.NullPointerException
at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)
at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:617)
at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:587)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272)
at $Proxy34.start(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:228)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:534)
14:31:51,968 WARN [ServiceController] Problem starting service jboss:database=localDB,service=Hypersonic
java.sql.SQLException: General error: java.lang.NullPointerException
at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)
at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:617)
at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:587)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272)
at $Proxy34.start(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:228)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:534)
14:31:52,562 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name 'java:JmsXA'
14:31:52,921 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=MySqlDS,service=DataSourceBinding to JNDI name 'java:MySqlDS'
14:31:53,000 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/jmx-console.war/
14:31:53,515 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-4.0.1/server/default/deploy/management/web-console.war/
14:31:54,859 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.1/server/default/deploy/teste.ear
14:31:56,125 INFO [EjbModule] Deploying Teste
14:31:56,421 WARN [StatelessSessionContainer] No resource manager found for jms/PointToPoint
14:31:56,453 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp4815teste.ear-contents/teste-ejb.jar
14:31:56,562 INFO [TomcatDeployer] deploy, ctxPath=/teste, warUrl=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp4815teste.ear-contents/teste-exp.war/
14:31:56,937 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.1/server/default/deploy/teste.ear
14:31:56,937 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.ejb:persistencePolicy=database,service=EJBTimerService
state: CREATED
I Depend On: jboss.jca:name=DefaultDS,service=DataSourceBinding
Depends On Me:
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
state: CREATED
I Depend On: jboss.mq:service=Invoker
jboss.web:service=WebServer
Depends On Me:
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
state: CREATED
I Depend On: jboss:service=TransactionManager
jboss.jca:name=DefaultDS,service=DataSourceBinding
Depends On Me:
ObjectName: jboss.mq:service=StateManager
state: CREATED
I Depend On: jboss.jca:name=DefaultDS,service=DataSourceBinding
Depends On Me: jboss.mq:service=DestinationManager
ObjectName: jboss.mq:service=DestinationManager
state: CREATED
I Depend On: jboss.mq:service=MessageCache
jboss.mq:service=PersistenceManager
jboss.mq:service=StateManager
Depends On Me: jboss.mq.destination:name=testTopic,service=Topic
jboss.mq.destination:name=securedTopic,service=Topic
jboss.mq.destination:name=testDurableTopic,service=Topic
jboss.mq.destination:name=testQueue,service=Queue
jboss.mq.destination:name=A,service=Queue
jboss.mq.destination:name=B,service=Queue
jboss.mq.destination:name=C,service=Queue
jboss.mq.destination:name=D,service=Queue
jboss.mq.destination:name=ex,service=Queue
jboss.mq:service=SecurityManager
jboss.mq.destination:name=DLQ,service=Queue
ObjectName: jboss.mq:service=PersistenceManager
state: CREATED
I Depend On: jboss.jca:name=DefaultDS,service=DataSourceBinding
Depends On Me: jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:name=testTopic,service=Topic
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
Depends On Me:
ObjectName: jboss.mq.destination:name=securedTopic,service=Topic
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
Depends On Me:
ObjectName: jboss.mq.destination:name=testDurableTopic,service=Topic
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
Depends On Me:
ObjectName: jboss.mq.destination:name=testQueue,service=Queue
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
Depends On Me:
ObjectName: jboss.mq.destination:name=A,service=Queue
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
Depends On Me:
ObjectName: jboss.mq.destination:name=B,service=Queue
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
Depends On Me:
ObjectName: jboss.mq.destination:name=C,service=Queue
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
Depends On Me:
ObjectName: jboss.mq.destination:name=D,service=Queue
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
Depends On Me:
ObjectName: jboss.mq.destination:name=ex,service=Queue
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
Depends On Me:
ObjectName: jboss.mq:service=Invoker
state: CREATED
I Depend On: jboss.mq:service=TracingInterceptor
Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
jboss.mq:service=InvocationLayer,type=JVM
jboss.mq:service=InvocationLayer,type=UIL2
ObjectName: jboss.mq:service=TracingInterceptor
state: CREATED
I Depend On: jboss.mq:service=SecurityManager
Depends On Me: jboss.mq:service=Invoker
ObjectName: jboss.mq:service=SecurityManager
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
Depends On Me: jboss.mq.destination:name=testTopic,service=Topic
jboss.mq.destination:name=securedTopic,service=Topic
jboss.mq.destination:name=testDurableTopic,service=Topic
jboss.mq.destination:name=testQueue,service=Queue
jboss.mq:service=TracingInterceptor
jboss.mq.destination:name=DLQ,service=Queue
ObjectName: jboss.mq.destination:name=DLQ,service=Queue
state: CREATED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
Depends On Me:
ObjectName: jboss.mq:service=InvocationLayer,type=JVM
state: CREATED
I Depend On: jboss.mq:service=Invoker
Depends On Me:
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
state: CREATED
I Depend On: jboss.mq:service=Invoker
Depends On Me:
ObjectName: jboss.jca:name=DefaultDS,service=LocalTxCM
state: CREATED
I Depend On: jboss.jca:name=DefaultDS,service=ManagedConnectionPool
jboss.jca:service=CachedConnectionManager
jboss.security:service=JaasSecurityManager
jboss:service=TransactionManager
Depends On Me: jboss.jca:name=DefaultDS,service=DataSourceBinding
ObjectName: jboss.jca:name=DefaultDS,service=ManagedConnectionPool
state: CREATED
I Depend On: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
Depends On Me: jboss.jca:name=DefaultDS,service=LocalTxCM
ObjectName: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
state: CREATED
I Depend On: jboss:database=localDB,service=Hypersonic
jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment
Depends On Me: jboss.jca:name=DefaultDS,service=ManagedConnectionPool
ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding
state: CREATED
I Depend On: jboss.jca:name=DefaultDS,service=LocalTxCM
jboss:service=invoker,type=jrmp
Depends On Me: jboss.ejb:persistencePolicy=database,service=EJBTimerService
jboss:service=KeyGeneratorFactory,type=HiLo
jboss.mq:service=StateManager
jboss.mq:service=PersistenceManager
ObjectName: jboss:database=localDB,service=Hypersonic
state: FAILED
I Depend On:
Depends On Me: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
java.sql.SQLException: General error: java.lang.NullPointerException
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss:database=localDB,service=Hypersonic
state: FAILED
I Depend On:
Depends On Me: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
java.sql.SQLException: General error: java.lang.NullPointerException
14:31:57,265 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
14:31:57,578 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
14:31:57,609 INFO [JkMain] Jk running ID=0 time=0/141 config=null
14:31:57,625 INFO [Server] JBoss (MX MicroKernel) [4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)] Started in 33s:766ms -
I'm running JBoss 3.0.1 with Tomcat 4.0.4 bundle. I have successfully deployed a EJB to Jboss and created 2 clients (java & JSP client).
For some reasons, I'm able to run the java client but when I try the JSP client (served by Tomcat) I get this error message
javax.servlet.ServletException: Name greetings is not bound in this Context
Below is the code for the 2 clients & web.xml
<----------- jsp client -------------->
<%@ page import="javax.naming.*,
java.util.*,
java.util.Hashtable,
javax.rmi.PortableRemoteObject,
com.stardeveloper.ejb.session.*"%>
<%
long t1 = System.currentTimeMillis();
InitialContext ctx = new InitialContext();
Object ref = ctx.lookup("ejb/First");
FirstHome home = (FirstHome) PortableRemoteObject.narrow (ref, FirstHome.class);
First bean = home.create();
String time = bean.getTime();
bean.remove();
ctx.close();
long t2 = System.currentTimeMillis();
%>
<html>
<head>
<style>p { font-family:Verdana;font-size:12px; }</style>
</head>
<body>
<p>Message received from bean = "<%= time %>".<br>Time taken :
<%= (t2 - t1) %> ms.</p>
</body>
</html>
<----------- java client ------------->
import javax.naming.*;
import com.stardeveloper.ejb.session.*;
import java.util.Hashtable;
import javax.rmi.PortableRemoteObject;
import com.stardeveloper.ejb.session.*;
class firstEJBclient {
public static void main(String[] args) {
try {
long t1 = System.currentTimeMillis();
InitialContext ctx = new InitialContext();
System.out.println("Got CONTEXT");
Object ref = ctx.lookup("ejb/First");
System.out.println("Got REFERENCE");
FirstHome home = (FirstHome) PortableRemoteObject.narrow (ref, FirstHome.class);
First bean = home.create();
String time = bean.getTime();
bean.remove();
ctx.close();
long t2 = System.currentTimeMillis();
System.out.println("Message received from bean = "+time+" Time taken : "+(t2 - t1)+" ms.");
catch (Exception e) {
System.out.println(e.toString());
<----------------- web.xml -------------------->
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<session-config>
<session-timeout>
1800
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>
firstEJB2.jsp
</welcome-file>
</welcome-file-list>
<ejb-ref>
<description>A reference to an entity bean</description>
<ejb-ref-name>ejb/First</ejb-ref-name>
<ejb-ref-type>Stateless</ejb-ref-type>
<home>com.stardeveloper.ejb.session.FirstHome</home>
<remote>com.stardeveloper.ejb.session.First</remote>
</ejb-ref>
</web-app>
Why is it not bound?Please Ignore my other Message(My META-INF was not in Root and now I am able to get my beans bound).
I am using Jboss 3.0
I am able to access service of my HelloWorld Session Bean through a jsp.
But not able to do so using a java client.
my directory structure is :
com\ideas\users\<Bean classes(Remote Interface,home interface,Bean)>
com\ideas\users\<Bean client(a java client)>
My java client program is :
import javax.rmi.*;
import javax.naming.*;
import java.util.*;
import com.ideas.users.*;
public class HelloWorld {
public static void main( String args[]) {
try{
Properties p = new Properties();
p.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
p.put("java.naming.provider.url","localhost");
InitialContext ctx = new InitialContext(p);
//Lookup the bean using it's deployment id
Object obj = ctx.lookup("users/Hello");
//Be good and use RMI remote object narrowing
//as required by the EJB specification.
HelloHome ejbHome = (HelloHome) PortableRemoteObject.narrow(obj,HelloHome.class);
//Use the HelloHome to create a HelloObject
Hello ejbObject = ejbHome.create();
//The part we've all been wainting for...
String message = ejbObject.sayHello();
//A drum roll please.
System.out.println( " run successfully and message is :" + message);
} catch (Exception e){
e.printStackTrace();
I am able to compile but when i try to Run I get the following error message
javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputClassFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:449)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
at javax.naming.InitialContext.lookup(Unknown Source)
at HelloWorld.main(HelloWorld.java:25)
Please help me out .
Thanks in advance
Sujith -
Error:CalculatorBeanRemote not bound
Hi Good People,
I am developing a sample EJB3 application in eclipse3.4. I am following the following steps:
1) First of all i am creating an EJB project (testEJB) in the eclipse. While creating this Project i am selecting the options of 1) Create an EJB Client Jar Module (testEJBClient) to hold the client interfaces and classes and 2) Add Project to an EAR (testEJBEAR) for this project. So it will create three different projects with the given names in the eclipse.
2) Now in the project testEJB i will create a stateless session bean. Its corresponding remote interface will be automatically created in the testEJBClient. Now i will declare a simple method hello() in the remote interface and will implement it in the testEJB.
So this completes my ejb beans.
3) Now in the third step i am creating a dynamic web project (with jboss as server). In this project's properties, in the java EE Module Dependencies section i am giving reference to both the testEJB.jar and testEJBClient.jar so that i can access the method in my jsp or servlets. My index.jsp is looks like:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="com.*, javax.naming.*,java.util.Properties"%>
<%
Properties p = new Properties();
p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
p.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
p.put("java.naming.provider.url", "localhost");
Context ctx = new InitialContext(p);
calculator = (CalculatorBeanRemote)ctx.lookup(CalculatorBeanRemote.class.getName());
System.out.println("Loaded Calculator Bean");
} catch (Exception ex) {
System.out.println("Error:"+
ex.getMessage());
%>But when i am trying to run this file it is giving the following exception :
Error:com.CalculatorBeanRemote not bound
I am trying to solve this from last 3 days but still not successful. If any one has any idea please help me.
I am also attaching the log file of jboss server.
Regards,
KhushwinderI think your EJB's are not bound.
You can find this message when deploying the ejb server jar in the jboss app server.
And also check your web-inf/lib path for any jar files.
1.if your web-inf/lib contains the testEJBClient.jar(client jar) then remove it from there and place it in
jbosshome/server/default/lib
2.Place your testEJB.jar (server jar) in the deploy folder of jboss.similary your web app war file also place in the same location
by verifying the step1.
Don't use eclipse deployment. Manually place these jar files in the jboss and run the jboss in command prompt.
If you found in exception like binding then check your deployment packaging once again.
If you have any problem then ask me.
I hope it will solve your problem.
Regards
Venki -
I've been setting up a migration from NW to OES2 sp2. After some initial glitches, the NW server seems to be doing fine, but the oes server is still giving me grief. I get a mapping error in miggui when I configure the file system, but I can get around that with the nwmap command. I decided to run the NSA against the oes server and it gives me a critical message:
Product: OES2 Migration
Message: IP address is not bound on the server, ip: <ip address>
Then in the Warnings, under category Connectivity and product Network, I see:
"Basic Service Health; Review Changes in RPM Validation: sysconfig in network.txt"
Any ideas? I don't see any problem with networking through this IP. Should I check something in the config file under /etc/sysconfig/network? Thanks.zenking,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Exception - javax.naming.NameNotFoundException: HelloHome not bound
Hi Friends
I deployed the ejb jar file successfully in JBOSS app server in "jboss-4.0.3RC1\server\default\deploy\". But when I run the client file (compiled successfully) displays the following exception :-
Exception in thread "main" javax.naming.NameNotFoundException: HelloHome not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at HelloClientNew.main(HelloClientNew.java:17)
My HelloClient.java file code is :-
import examples.*;
import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Properties;
public class HelloClientNew
public static void main(String args[]) throws Exception
Properties env = new Properties();
env.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
env.setProperty("java.naming.provider.url","jnp://localhost:1099");
env.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
Context ctx=new InitialContext(env);
Object obj=ctx.lookup("HelloHome");
HelloHome home=(HelloHome)javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);
Hello hello=home.create();
System.out.println(hello.hello());
hello.remove();
The package "examples" contains - Hello,HelloHome,HelloLocal,HelloLocalHome and HelloBean source and class files.
I tried a lot but still am stuck to this problem. If anybody can tell me the solution then I will be very thankful to him.
Thanks
BhoopenderPlease provide me solution for this .I am also facing the same problem.
javax.naming.NameNotFoundException: HelloBean not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.logica.Client.main(Client.java:18)
public class Client {
public static void main(String a[]){
try{
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
env.put(Context.PROVIDER_URL,"localhost");
env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces" );
Context ctx=new InitialContext(env);
System.out.println("dfhdf"+ctx);
Object O=ctx.lookup("HelloBean");
//System.out.println("dafjhda"+O);
CartHome cart=(CartHome)O;
CartRemote Rem=cart.Create();
CartRemote Rem1=cart.Create("99");
Rem.addBook("java1");
Rem.addBook("java2");
Rem1.addBook("C1");
Rem1.addBook("C2");
System.out.println("Details"+Rem.ShowAllBooks());
System.out.println("Details1"+Rem.placeOrder());
System.out.println("Details2"+Rem1.ShowAllBooks());
System.out.println("Details djfj"+Rem1.placeOrder());
catch (Exception e) {
e.printStackTrace() ;
Thanks,
Krishnakumar -
NameNotFoundException - ${j2ee.client} not bound
Good day, all. I'm new to J2EE, so apologies up front if this is a brain-dead
question. I have done some searching around on the site, and have found similar
issues, but none which contain a working solution for me, as far as I can tell.
I'm attempting to write a J2EE client application using JBoss. I have a main function
which is attempting to look up entries from the server's Global JNDI context, and isn't
finding them.
My main():
package nameredacted;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import nameredacted.log.AccountingLog;
import nameredacted.log.AccountingLogFactory;
public class JobMain {
private static final AccountingLog log = AccountingLogFactory.getAccountingLog(JobMain.class);
public static void main(String[] args)
try
Context ctx = new InitialContext();
// v--- Explosion occurs below: ---v
String lookupName = (String)ctx.lookup("java:comp/env/name_space_root");
Context globalCtx = (Context)ctx.lookup(lookupName); // I don't ever get here.
if (log.isInfoEnabled())
log.info(null,"Loaded Global Context");
System.out.println("Yay");
System.out.println(globalCtx);
catch (NamingException e2)
log.warn("There was an error looking up the name_space_root: " + e2);
e2.printStackTrace();
}My jndi.properties file:
#jboss JNDI properties
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.factory.url.pkgs=org.jboss.naming.client
j2ee.clientName=PaymentQuartzMy application-client.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<application-client id="Application-client_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd">
<display-name>PaymentQuartz</display-name>
<env-entry>
<env-entry-name>name_space_root</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>cell/persistent</env-entry-value>
</env-entry>
<ejb-ref id="EjbRef_1">
<ejb-ref-name>ejb/MyEjbHome</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>nameredacted.beans.MyEjbHome</home>
<remote>nameredacted.beans.MyEjb</remote>
</ejb-ref>
</application-client>My jboss-client.xml file:
<jboss-client>
<jndi-name>PaymentQuartz</jndi-name>
<ejb-ref>
<ejb-ref-name>ejb/MyEjbHome</ejb-ref-name>
<jndi-name>ejb/nameredacted/beans/MyEjbHome</jndi-name>
</ejb-ref>
</jboss-client>And finally, an excerpt from the error text:
[java] [2007-05-21 14:27:16,342] WARN quartz.main.JobMain - There was an error looking up the name_space_root: javax.naming.NameNotFoundException: PaymentQuartz not bound
[java] javax.naming.NameNotFoundException: PaymentQuartz not bound
[java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
[java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
[java] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
[java] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
[java] at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
[java] at sun.rmi.transport.Transport$1.run(Transport.java:153)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
[java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
[java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
[java] at java.lang.Thread.run(Thread.java:595)
[java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
[java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
[java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
[java] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:129)
[java] at $Proxy0.lookup(Unknown Source)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
[java] at nameredacted.JobMain.main(JobMain.java:26)
BUILD SUCCESSFULThanks in advance for your help: I think my monitor is beginning to bruise from repeated
head impacts...
Er, something.
kev
Message was edited by:
kevjava [added application-client.xml]I'm not familiar with the specifics of how the JBoss implementation requires that Application Client
components be executed so I'd recommend checking their documentation. There is often a
special command needed to run an Application Client within an Application Client container. It's
typically more than just configuring the client to bootstrap a particular naming provider.
For example, in the Java EE SDK, we have a special command called "appclient" that is used to
start an Applicaiton Client component. The Application Client container bootstraps the
correct naming provider, sets up the private component naming environment (java:comp/env),
handles any authentication, etc. You can find more information on the difference between
an Application Client and a "stand-alone java client" in our EJB FAQ :
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
--ken -
ORA-01008 All variables are not bound
Hi I am running this query and getting this exception ORA-01008 All variables are not bound .
Could anyone please insight ?
SELECT EQMT_INGT_LOG_ID, EQMT_ID,
XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML
FROM TOS_EQMT_INGT_LOG ingLog
where BUCK_SLIP_XML is not null and ingt_date between to_date(:fromDate, 'MM/DD/YYYY HH24:MI')
and to_date(:toDate,'MM/DD/YYYY HH24:MI' )
and eqmt_id in (select eqmt_id from tos_eqmt
where eqmt_init = :eqmtInit and eqmt_nbr = :eqmtNbr
and orig_loca_id in (select loca_id from tos_loca where altn_src_sys_stn_id = :circ7 ))
and SCAC = :scac
and STCC = :stcc
and SHPR_NAME = :shprName
and CNSE_NAME = :cnseName
and driv_id in (select driv_id from tos_driv where lcns = :lcns )
and driv_id in (select driv_id from tos_driv where sabv = :sabv )
and ingt_stat_ind = :ingtStatInd
and BUCK_SLIP_XML like :inspectedBy
ORDER BY INGT_DATESlightly off-topic but what do you think this does :
XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML? -
Problem in WEB-UI field (Not Bound)
Hi Experts,
I am new to CRM Technical, I have added new standard field (Date Of Birth) thourgh component work bench 'BSP_WD_CMPWB' in 'Z_IC_AGENT' business role. after execution this business roles i could able to see this DOB field but its showing with 'NOT BOUND'
1. Can any one suggest me why that newly added field showing like that? Do i need to add any other setting or coding ?
2. How to add new Z field in this business role. Please tell me the right procedure.
Thanks & Regards,
Ramesh.Hi Ramesh,
please open you component in transaction BSP_WD_CMPWB.
Go to the contextnode where you added your attribute.
Open the GET_ Method of your attribute and set here an external breakpoint.
Now go back to the webclient UI, restart it and try again.
You will stop at your breakpoint and you will be able to debug your issue.
Kind regards
Manfred -
Hello,
after clean install of my new T430s using System Update everything worked quite well, except for terrible DPC latency when loading web pages (crapping sound). Therefore I changed LAN driver to 11.10.84.0 from Lenovo (83rw15ww) and latencies went down (this driver has been recommended in some online forum).
Few days later I was on WiFi and latency spiked up again, but this time all the time above 8000µs - even when idle. I started to play with devices in Device Manager and ultimately reinstalled WiFi driver to Lenovo's 15.6.1, then Intel's 15.8.0. The most recommended driver from HP I was unable to install, so no harm there
Not sure when, but somewhere since this point I don't see wireless networks any more. Driver is fine (no yellow ? or !), wireless card is fine (replaced by spare one from my "HW guy"), all drivers has been reinstalled MANY times. When I try to add WLAN manually, Win7 says "Unexpected Error". Diagnostic tool from Intel says "Wireless hardware is not bound to transport driver". In Fn+F5 I see WiFi as off and I can't turn it on (unlike Bluetooth, which works well). Windows Diagnostics says there's an issue with a driver (sorry if I don't use exact words, my Win7 is not EN). I don't see this card anywhere in "ipconfig". There's no difference in diagnostics whether the wireless switch is on or off.
I read almost everything I was able to google about similar issues. I tried various drivers from both Lenovo (manual download from Lenovo website as well as using System Update) and Intel, both with and without Access Connections. I tried to remove the device from Device Manager and let Windows to find it again. I reinstalled LAN driver, tried to update BIOS (was already updated), tried to reset various stuff using "netsh" command, deleted Intel/Wireless dir in [username]/AppData, all this with/without reboots in between. Tried to play with card settings (in Device Manager), with power settings (both Windows and Power Manager), with on/off switch on a side of the laptop. I tried System Restore, which ended by error for all meaningful points. Nothing. All this on 3 different WLAN networks (2.4 GHz).
My last thought is to reinstall Windows from scratch, but it takes me at least 2 whole days to set everything up as I use a boatload of different work stuff for different customers.
My current WiFi driver, according to Driver tab in Device Manager for Intel Centrino Advanced-N 6205, is 15.4.1.1 from January 23, 2013 (thru System Update). The more current one from Intel is 15.7.0.3 from April 18, 2013.
Thank you in advance for any suggestions, tips or help.
EDIT
Just for the heck of it I switched wireless ON at home and suddenly my home WiFi network appeared in Win7 WiFi management (no AC). The last driver I installed was thru System Update, twice. Never restarted immediately, always after a while.
So I ran System Update again and it offered me available driver for WiFi (again!) and Access Connections. The online utility from Intel also offered me available drivers. I still have WiFi driver 15.4.1.1 (23.1.2013). To be honest I'm little affraid to update one or the other, as I did it so MANY times in past 30 hours with no effect.
The only difference I noticed is a new wireless device was available - Microsoft Virtual WiFi Miniport Adapter. It may be because of my Checkpoint Endpoint Security VPN software, but last time I saw this adapter was just before I lost all the wireless networks.
As much as I'm relieved it's working again, as a programmer I'm not happy about it, because I don't know WHY it's working now, when I didn't do anything for it since my last try. I only kept the wireless switch off for a fair amount of time.
Oh, and DPC latency stays below 300µs (up to 500µs is OK).hey smarmytime,
let me get this right
laptop+router+modem (via cable) = connection working fine
laptop+modem (via cable) = connection goes wonky
laptop+wireless = works halfway then poofs
The wireless of yours comes from a Router+Wifi or is it coming from a Modem+Wifi set ?
If it's coming from a Modem+Wifi set, then try the following.
1- turn off wireless
2- reset modem to factory setting (make sure wireless is off)
3- key in the necessary info to make a connection.
4. switch wifi off on laptop
5. connect laptop to modem via cable.
Does it connect ? Does it go poof halfway?
After that, turn on the wireless for both modem and laptop, try connecting again. Does it connect ? Does it go poof halfway?
WW Social Media
Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
Follow @LenovoForums on Twitter!
Have you checked out the Community Knowledgebase yet?!
How to send a private message? --> Check out this article. -
Error - Name jdbc is not bound in this Context
Hi,
i wanted to use Datasource in JDBC to make connection with mysql
suport and want to excute Jsp page but not able to execte some error is
getting.
1)Jsp Page: data_source.jsp
<%@ page session="true" import="java.sql.*,javax.sql.*,javax.naming.*" %>
<HTML>
<body bgcolor="blue">
<H1 align = "center" >
Welcome to User and can see the DataSource Connection
<%
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("jdbc/test");
Connection conn = ds.getConnection();
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * from emp");
if(rs.next())
%>
<table width="100%" border="1" >
<tr align="left">
<th>Name</th>
<th>Dept</th>
</tr>
<%
do
%>
<TD> <%= rs.getString("Name") %> </TD>
<TD> <%= rs.getString("Dept") %> </TD>
<%
}while(rs.next());
%>
</table>
<%
}else {
%>
No Results from Query:
<%
rs.close();
stmt.close();
conn.close();
ctx.close();
%>
</body>
</html>
2) web.xml file content
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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>MySQL Test App</description>
<resource-ref>
<description>Mysql DB Connection</description>
<res-ref-name>jdbc/test</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<servlet>
<servlet-name>s1</servlet-name>
<servlet-class>first</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>s1</servlet-name>
<url-pattern>/test</url-pattern>
</servlet-mapping>
</web-app>
3) myhealth.xml or server.xml
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="C:/Program Files/Apache Software Foundation/Tomcat
5.0/myhealth" path="/myhealth" reloadable="true" privileged="true">
<Resource name="jdbc/test"
scope="Shareable" type="javax.sql.DataSource"
auth="Container" description="hOME.."/>
<ResourceParams name="jdbc/test">
<parameter>
<name>driverClassName</name>
<value>com.mysql.jdbc.Driver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost:3306/test?autoReconnect=true</value>
</parameter>
<parameter>
<name>username</name>
<value>root</value>
</parameter>
<parameter>
<name>password</name>
<value>test</value>
</parameter>
</ResourceParams>
</Context>
4) Error which i got during execution of data_Source.jsp page.
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: Name jdbc is not bound in this Context
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
org.apache.jsp.Data_005fSource_jsp._jspService(Data_005fSource_jsp.java:115)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
org.apache.naming.NamingContext.lookup(NamingContext.java:815)
org.apache.naming.NamingContext.lookup(NamingContext.java:198)
org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
javax.naming.InitialContext.lookup(InitialContext.java:351)
org.apache.jsp.Data_005fSource_jsp._jspService(Data_005fSource_jsp.java:56)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
As i made datasource Context using Tomcat apache. But i still get same error.
I tried so much from Google search, please give me proper solution.
Coz this is the common problem most of the programmers face initally
Thanks,
Prabhati installed tomcat. the installation is done successfully..
But i can't connect to the db(MySQL)
i am getting some errors regarding some exception like
**org.apache.jasper.JasperException: An exception occurred processing JSP page /TestTomcatToMySQLConn.jsp at line 16**
**13: Context ctx = new InitialContext();**
**14:* if(ctx == null )*
*15: throw new Exception("Boom - No Context");*
*16: ds = (DataSource)ctx.lookup("java:comp/env/jdbc/testDB");*
*17:*
*18: if(ds == null )*
*19: throw new Exception("Boom - No Datasource");*
Stacktrace:_
* org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)*
* org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)*
* org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)*
* org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)*
* javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
root cause_
javax.servlet.ServletException: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context_
* org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)*
* org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)*
* org.apache.jsp.TestTomcatToMySQLConnjsp._jspService(TestTomcatToMySQLConn_jsp.java:88)*_
* org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)*
* javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
* org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)*
* org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)*
* org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)*
* javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
please Help
Maybe you are looking for
-
I can't open files in Photoshop
All of sudden I am unable to open files in Photoshop, either by launching from a folder or opening in Photoshop... all I get is the spinning wheel of death. I've trashed my Photoshop preferences, ran cocktail, repaired permissions and restarted sever
-
How to delete the error stack?
Hi guys we just have a simple problem but cannot find the answer: We are working with error handling on our transformations / dtp requests. There are as well error dtps for coping with the errors produced. However, there is often the case that there
-
Need Color to generate XML linking to graded shots.
Hi I have a project which I left rendering overnight. Alas we had a powercut so the the project didn't finish. Although the first 120 shots were rendered ok, Color doesn't think they have been rendered so when I Send to FCP or export an XML, the resu
-
Forcing a JTree to only accept one type of node?
So I have a JTree and I want to make sure that all of its nodes are of the same, specific type (that type being a custom extension of DefaultMutableTreeNode). The way to do this that initially crosses my mind is to extend JTree and override the add m
-
Acrobat 8 Professional and Windows Server 2003 R2 Issue
Hi Our customers using Adobe Acrobat 8 Professional on Windows server 2003 R2 SP2. It works some period of time but then application stops working with this error and cannot start anymore: Faulting application Acrobat.exe, version 8.1.0.137, faulting