I have a problem: There are too many DEBUG messages written to the "server.log"
file so the hard disc gets full every several days. The DEBUG message looks as
follow.
|
| 2009-09-25 16:18:54,204 DEBUG [org.jboss.system.ServiceController] Creating
service jboss:service=Naming
| 2009-09-
I got a strange problem. I use the MSSQL Server and use to batch import data
into the MSSQL database.
But if the data amount not so large, there is no problem. But if the data
amount is large, then after 4 to 5 minutes I will get following exceptions. And
connection is brocken.
Someone has e
You are right. I forgot where I have posted the message and couldn't find it so
I post here again.
But I solved the problem myself now.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254736#4254736
Reply to the post :
http://www.jboss.org/index.html?module
I solved the problem. The disk is full.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254734#4254734
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254734
___
jboss-user mai
I have something stranged.
Till the day before yesterday, log messages could be written into the log file
(server.log).
But since yesterday no any message was written to the log, i.g. the size of
server.log = 0.
I stop the server and start it again. During starting I used tail -f to watch
th
I met a stranger problem. Since yesterday there is no log message wrote into
the "server.log". I look into the /server/default/conf and couldn't find any
file is changed since the first configuration.
Someone has idea or tips?
View the original post :
http://www.jboss.org/index.html?module=bb
Hi,
Normally if one start the Jboss, many logs will be written into the server.log.
But in one of my Jboss server it's not the case. I think maybe the
configuration is wrong.
Soemone know where to check and correct it?
View the original post :
http://www.jboss.org/index.html?module=bb&op=vie
Hi all,
I programmed a WS and the WS-Client. I deployed both onto the same application
server. This means they are local. From the client the web service can be
access by "http://localhost:8080/myWS/myws?wsdl";.
But now I have to deploy these onto an instance on another application server.
Sin
Hi all,
I've wrote many web applications using JSF/Facelets before and all these run
fine in Tomcat. Currently our company decides to move to use JBoss AS 4.2.1. I
got very big problem since as I dpeloy the WARs onto the JBoss AS I got many
exceptions. I notice that the JBOss AS has own lib for
Hi all,
I build the sample project of SPring-Web-Flow 2.0.5 "swf-booking-faces" and can
deploy it on Tomcat 6.0.14 and it runs fine.
But as I try to deploy it on JBoss 4.2.3, I got a lot of exceptions.
Does someone have such a problem?
View the original post :
http://www.jboss.com/index.html?
I did really help! Many thanks!
But I wonder a little bit since the "oracle-ds.xml" looks as follow:
|
|
|
| OracleDS
| jdbc:oracle:thin:@localhost:1521:XE
| oracle.jdbc.driver.OracleDriver
| test
| test
|
org.jboss.resource.adapter.jdbc.vendor.O
I created an Entity with XDoclet binding with JBoss in Eclipse. The file
"jbosscmp-jdbc.xml" is automatically created and looks as follow:
|
| http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd";>
|
|
|
| java:/OracleDS
| Oracle10g
| false
|false
Ok, I solved the problem. I make the same error again as last time. :-)
I have to use the environment by JNDI-lookup as follow:
...
com.zoo.TigerHome home = com.zoo.TigerUtil.getHome(props);
...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153230#4153230
In the Global JNDI Namespace I see followings:
| Global JNDI Namespace
| ...
| +- Tiger (proxy: $Proxy69 implements interface com.zoo.TigerHome,interface
javax.ejb.Handle)
| ...
| ...
| +- local (class: org.jnp.interfaces.NamingContext)
| | +- [EMAIL PROTECTED] (proxy: $Proxy6
In the console I got followings. Seems it has problem with the jndi-lookup.
| INFO: Deploying web application archive TestXDocletWeb.war
| javax.naming.NameNotFoundException: Name Tiger is not bound in this Context
| at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
In the log file I got the full stack trace:
| SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception
| java.lang.NullPointerException
| at org.apache.jsp.index_jsp._jspService(index_jsp.java:87)
| at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
|
Surely you are right.
Here is the exceptions I got in the browser:
| exception
|
| org.apache.jasper.JasperException: An exception occurred processing JSP
page /index.jsp at line 29
|
| 26:exception.printStackTrace();
| 27:}
| 28: %>
| 29: <%= tiger.roar() %>
Hi all,
I use the XDoclet to build EJB2-porject. The EJB2-project is deployed in JBoss
4.2.2. GA.
I can access/connect to the bean from an jsp (index.jsp) in a war:
| ...
|
| <%
|com.zoo.Tiger tiger = null;
|try{
|com.zoo.TigerHome home = com.zoo.TigerUtil.getHome(
It helps!
Many thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150150#4150150
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150150
___
jboss-user mailing list
jboss-u
The JSP looks as follow:
| ...
| <%@ page
|
import="javax.naming.*,java.text.*,java.util.*,com.wei.chen.ejbs.stateless.*,com.wei.chen.ejbs.entity.*"%>
|
| <%!private Calculator cal = null;
| private NumberFormat nf = null;
|
| public void jspInit() {
|
Hi all,
I build an application based on
"http://trailblazer.demo.jboss.com/EJB3Trail/persistence/index.html";, which
contains an EJB-project (JAR) and a Web-project (WAR).
If I deploy both on the JBoss server, it runs wonderful.
Now I deploy the web-project, i.e. the WAR to Tomcat Server 6.0.
Many thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150010#4150010
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150010
___
jboss-user mailing list
jboss-user@lists.j
OK, I find the file "oracle-ds.xml". It should be the correct one.
Besides I find some examples from the internet. The "persistence.xml" for
Oracle looks as follow:
|
|
| java:/OracleDS
|
|
|
|
|
|
But:
1.
WHere can I put this file in my project?
How can I write the persistence.xml for connection to Oracle Express 10g?
I've read the documentation from JBoss but I find the docs is not so good.
Besides, which file should have in which I can put the user name and password
for the database?
Does someone know any documentation about this?
R
Here is an example for using HSQL. But how can I set the username and password?
|
|
| java:/DefaultDS
|
|
|
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149936#4149936
Reply to the post :
http://www.jb
Very often I will find a class but don't know in which JAR I can find it. Has
someone an idea to do that?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149817#4149817
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149
To jaikiran:
You are right.
Many thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149788#4149788
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149788
___
jboss-user m
But this doesn't work in JBoss 5 Beta4. I can't find the JNDI Name in the JNDI
View List.
In JBoss-4.2.x, the @RemoteBinding was part of org.jboss.annotation.ejb
package.
import org.jboss.annotation.ejb.RemoteBinding;
In JBoss-5, the @Remote binding is now part of org.jboss.ejb3.annotation
In JBoss-4.2.x, the @RemoteBinding was part of org.jboss.annotation.ejb
package.
import org.jboss.annotation.ejb.RemoteBinding;
In JBoss-5, the @Remote binding is now part of org.jboss.ejb3.annotation
package.
import org.jboss.ejb3.annotation.RemoteBinding;
Did you ensure that you changed y
"jaikiran" wrote : In JBoss-4.2.x (or prior versions) the injection will not
work for standalone clients or servlets. It works only in the EJB layer. The
injection in application clients and servlets is supported in JBoss-5 (which is
in Beta).
|
1.
I've downloaded the JBoss 5 Beta4. But it's
See here please:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=135253
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149665#4149665
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149665
_
In the EJB3 there is a new feature called dependency injection. With this new
feature one doesn't need using the JNDI lookup calls. I try use this but it
doesn't work. I get NULL-Pointer Exception.
Here are my codes:
| @Remote
| public interface MyTestBeanRemote {
| public String tes
Many thanks to your reply!
By the way, I've installed the JBoss 4.2 as a server in Eclipse 3.4. How can I
deploy my ejb-project onto the JBoss server?
I click "Run on server" but it seems not works.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149368#41
I got it.
Many thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149366#4149366
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149366
___
jboss-user mailing list
jboss-u
"jaikiran" wrote : anonymous wrote : +- TestMyBean (class:
org.jnp.interfaces.NamingContext)
| | | +- local (proxy: $Proxy65 implements interface
com.wei.chen.MyBeanLocal,interface org.jboss.ejb3.JBossProxy,interface
javax.ejb.EJBLocalObject)
|
| By the way, are you sure that your cha
I see in the list folowings:
| +- TestMyBean (class: org.jnp.interfaces.NamingContext)
| | +- local (proxy: $Proxy65 implements interface
com.wei.chen.MyBeanLocal,interface org.jboss.ejb3.JBossProxy,interface
|
It is still local though I've changed to remote in my codes.
How can I ove
Here is the list. Where can I find the correct jndi-name?
Besides, I try your alternativ but I get Exception of "MyJNDIName not bound".
Global JNDI Namespace
+- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
+- jmx (class: org.jnp.interfaces.NamingContext)
| +- invoker (clas
"jaikiran" wrote : You cannot use an Local interface from a remote client (the
standalone java client, running in its own JVM). You will require a remote
interface for the bean. Use an interface with @Remote.
You are right. Now I change the Local to remote as follow:
MyBeanLocal.java
"jaikiran" wrote :
| The free (community) version of JBoss does not have this feature. From what
i have read in these forums, the paid version of JBoss has this facility.
|
This is not good. :-)
Besides, how can I undeploy the deployed JAR? Simply delete it? Should I stop
the server first
Here is all my codes:
MyBeanLocal.java
@Local
public interface MyBeanLocal {
public String test(String text);
}
TestMyBean.java
***
@Stateless
public class TestMyBean implements MyBeanLocal {
public static final String LocalJNDIName =
TestMyBean.cla
The exception of compatabability obve is resolved.
Client
Now I got another exception:
Exception in thread "main" javax.ejb.EJBException: Invalid invocation of local
interface (null container)
at
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:77)
at $
Thanks for the info. I can go astep further. But now I get another exception as
follow, seems it is a problem of compatability:
Caused by: java.io.InvalidClassException: org.jboss.ejb3.LocalProxy; local
class incompatible: stream classdesc serialVersionUID = -6521545933800264895,
local class se
I wonder why JBoss Server doesn't look like as the other servers such as
Geronimo, BEA Weblogic etc. where one can deploy files in AdminConsole?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149309#4149309
Reply to the post :
http://www.jboss.com/index.htm
Hi all,
I downloaded and installed the JBoss 4.2.1.GA.
I've also written a small ejb3 project and save it as JAR. Now I wanto to know
how can I deploy this JAR to the srever? Simply copy the JAR under
\jboss-4.2.1.GA\server\default\deploy ?
Regards
Thomas
View the original post :
http://www
Hi all,
I've wrote a small ejb3 stateless session bean program and have deploy the JAR
to the server (JBoss 4.2.1.GA).
Then I wrote a test client and try to access the bean I got exception as follow:
Caused by: java.lang.ClassNotFoundException:
org.jnp.interfaces.NamingContextFactory
at
45 matches
Mail list logo