[JBoss Seam] - Re: Database connection
by alexrozario
sorry sir, i cant follw you.
can you give me that link..
where are those examples.
can you help me further please...
and i had one more doubt..
i have created an seam+ejb 3.0 project in exadel IDE. In that i used Oracle 9i as an databse and JBOSS as an application server.
while ruinning the server it shows the following error.
ObjectName: persistence.units:ear=New.ear,jar=NewEJB.jar,unitName=First
State: FAILED
Reason: javax.naming.NameNotFoundException: Oracle not bound
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=Oracle
Depends On Me:
jboss.j2ee:ear=New.ear,jar=NewEJB.jar,name=FirstEjb,service=EJB3
where, New is my proect name contains newejb for ejb files and newweb for xhtml/jsf files. and oracle is my jndi name..
i am in confused state.. can you help me more..
thank you sir
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054682#4054682
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054682
18Â years, 10Â months
[JBoss Portal] - struck log4j related problems while starting CAS war
by advaittrivedi
I have installed Central Authentication Service v 3.0.7 on JBoss Portal 2.6. For that we need to put cas.war to /JBOSS_HOME/server/default/deploy
After that i started the server, but i got:
15:38:58,767 INFO [[/cas]] Initializing Log4J from [classpath:log4j.properties]
15:38:58,923 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "o
rg.apache.log4j.spi.ErrorHandler" variable.
15:38:58,923 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
15:38:58,923 ERROR [STDERR] log4j:ERROR [WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.FactoryURLClassLoader@13214d1
] whereas object of type
15:38:58,923 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.se
rver.NoAnnotationURLClassLoader@1de3f2d].
15:38:58,986 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.
15:38:58,986 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender
So I decided to remove log4j and commons-logging from web-inf/lib of cas.war. I also verified they are present in lib of /JBOSS_HOME/server/default. Now server startup simply halts at:
15:42:43,162 INFO [[/cas]] Initializing Log4J from [classpath:log4j.properties]
No errors any where!! Any idea whats going on.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054680#4054680
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054680
18Â years, 10Â months
[Management, JMX/JBoss] - Changing from remoting.transport.Connector to invocation.poo
by ecatum
Hi,
We've developped an application where a webapp agent communicates using Invoke/rmi with a server servlet serviced by our handler (MySubSys.class):
| ----------------------- -------------------------------------
| | webapp agent .invoke | ---RMI---> | servlet -> handler (MySubSys.class) |
| ----------------------- -------------------------------------
|
Using invoke works fine on the agent's side but the server servlet gets rapidly limited under heavy load because of increasing number of agent connections (seen in this example using: netstat | grep 8052).
-> Driving the client to be refused new connections.
So, I would like to change the following jboss-service.xml inside my mySubSys.sar:
| <server>
|
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:service=Connector,transport=RMI"
| display-name="MySubSys Socket transport Connector">
| <attribute name="Configuration">
| <config>
| <invoker transport="rmi">
| <attribute name="registryPort" isParam="true">8053</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">8052</attribute>
| </invoker>
| <handlers>
| <handler subsystem="MYSUBSYS">com.subsys.MySubSys</handler>
| </handlers>
| </config>
| </attribute>
| <depends>jboss.jca:service=DataSourceBinding,name=subsysDS</depends>
| </mbean>
|
| </server>
|
for another configuration using invocation.pooled.server.PooledInvoker ?
Any suggestions?
Thanks a lot
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054673#4054673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054673
18Â years, 10Â months