Looks like soliloquising.
In my last post the xml-text seems to have been partly destroyed. The forum
software seems to dislike some xml-tags. The part of hsqldb-ds.xml about
mbean-declaration in the file is, different to what it looks like in my post,
with correct xml-tags.
View the
I have a MBean that I want to use as an end point for some Axis services. I
have done created the service and the web service is wirking great -- so is the
MBean. However, the MBean and Axis are not sharing the instance of the MBean
object -- JBoss instantiates the MBean at startup and Axis
I have a very simple web application. I enabled RequestDumperValve for debug
purpose. strangely, I found for every request, the server tries to request
/favicon.ico. However there is no error is showed in the web browser. What does
the /favicon.ico do? Can I disable it? Thanks
View the
favicon.ico is the icon shown on the left-side of the URL on most browser
address bar.
As this is not a required thing, it does not rise exception on the client.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868092#3868092
Reply to the post :
I understand what idle means. However I do not know what the jboss do with the
idle connection.
1. recollect the connection from the application and put it to pool.
2. physically close the connection.
Which action will jboss take, 1 or 2?
Thanks
View the original post :
Seems as if the Getting Started..- document contains an error. The
hsqldb-ds.xml contains a line
dependsjboss:service=Hypersonic,database=localDB/depends
According to the document you have to activate not the localDB-mbean, but the
standalone-mbean. This leads to the error I got. Changing the
There are two approaches in WS4EE deployment artifact generation.
A client usually uses top down and generates the SEI, SI, User types,
jaxrpc-mapping.xml from a remote WSDL.
A service endpoint usually uses bottom up and generates the WSDL,
jaxrpc-mapping.xml from a SEI.
If you managed to
Yes, the default value is available from AnnotationDefault
attributes. Thank you for your information.
I added the support of AnnotationDefault attributes to Javassist.
It is available from CVS HEAD or Branch_Javassist_3_0.
Chiba
View the original post :
Have you read http://www.jboss.org/wiki/Wiki.jsp?page=WSRPCClientStepByStep ?
It explains why it is not at all unreasonable to JBoss on the client side.
JBossWS is about J2EE compliant web services on the server *and* client side.
If you are looking for a standalone (not J2EE compliant) WS
Hello.
I have the following problem using Timers in my J2EE application. I have 3
Session Beans which implement TimedObject. At the deployment of the app, I
start the timers (which guard some external events, like picking up a new
mail etc. - not important here) and at undeployment of the app,
hi feigling.I guess you need to know a manner to get the datasource
jndiname of an entity. Then if you are in your junit test application you can
do this:
String jndiName =.. jndi name of your entity...;
ObjectName name = new ObjectName(jndiName=+jndiName+,service=EJB);
I too am having a similar problem. In the code example above, the ConcreteMDB
class contains an onMessage method that takes a javax.jms.TextMessage object.
In my case, I want the AbstractMDB to handle a javax.jms.ObjectMessage that
contains a non-JMS system message and pass that non-jms
sorry ...i continue.
String dataSource = jamd.getDataSource();
if your application test is an mbean you can put off the part of lookup jmx and
you can to write so:
MBeanServer server = this.getServer();
instead of:
RMIAdaptor server = (RMIAdaptor)lookup(jmx/rmi/RMIAdaptor);
View the
javax.servlet.jar package is missing at jboss3.2.6/server/all/lib.
It seems that the package shouild be extracted with the zipped file
jboss-3.2.6.zip downloaded from jboss.com
Please suggest a solution,
Thanks
RH
View the original post :
I would like to try if left join read ahead is a possible solution. Any ideas
of how to try generating left-join read-ahead tags with XDOCLET?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868105#3868105
Reply to the post :
Very interesting. I have found that the deployment problem has something to do
with the name of the abstract method I call on the concrete class from the
abstract class. In my example above, I use the onMessage(custom.Message
message) signature. That fails.
When I change the method name
Yes, there are many different ways to write code to do the same thing, and
smartbytecode is not supposed to find all in one pass. Multiple passes is
needed, and if planned carefully most cases can be found... Works fine for me
at least.. :)
chiba wrote : I see. Your approach is right.
Thanks,
Yes. I do have the SEI but only for my hello world web service. I don't have
the SEI for the ejb with over 120 methods. Can you tell me what is the tool I
need in order to generate the SEI?
Julien.
View the original post :
Bug report raised, since the poster seems incapable of following basic
instructions
and I don't want my mail filling up with guess work:
http://jira.jboss.com/jira/browse/JBAS-1532
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868111#3868111
Reply to the post
You do not know what idle means otherwise you wouldn't be asking such a basic
question that is answered in the documentation.
1) A connection is idle if it NOT used by an application (see my response if
you didn't understand this before your original post)
2) If it is idle for too long,
You don't seem to understand how Managed environments work.
There is lots of wrapping to protect you from having to deal with
the real resources and the book keeping involved
When you look up java:/JmsXA (or an alias of this using java:comp)
you are not talking directly to the jms provider.
You
In more detail
1) The real jndi access is done by the jms provider mbean (not the ejb)
see (hajndi-)jms-ds.xml
2) No, read the j2ee spec, the pool handles this.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868114#3868114
Reply to the post :
Good day,
I am trying to get a per-ear deployment working and while I believe I have all
the parts as explained ini the Wiki and other forums, I do not get any output
files created at all.
I have renamed conf/log4j.xml to jboss-log4j.xml and made the appropriate
change in jboss-service.xml.
You can use any decent IDE like IntelliJ to extract an interface from your SLSB
implementation. For a service endpoint, the SEI is not something you generate
it is an artifact you start off with.
If you expose the same set of methods through the SLSB's local or remote
interface, then that can
It'd be nice if the Javadocs were available online somewhere.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868117#3868117
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868117
OK, I might add one thing.
In the same EAR as my JAR is placed, I have a WAR with a web application in it.
I use my datasource in this web application and it works fine!
jboss-web.xml
jboss-web
| resource-ref
| res-ref-namejdbc/WpDB/res-ref-name
|
Hello All,
I recently moved a cluster from JBoss 3.0.7 to JBoss 3.2.7 and was surprised to
see that the HTTP Session replication appears to have been completely
overhauled.
I have everything working, but am seeing the occaisional message from clients
that have cookies disabled.
Example:
Hi,
I'm a bit of a newbie to JBoss, but does anyone know if its possible to create
new JMS queues or topics at runtime (i.e., without new deployment descriptors
and without restarting the server)?
For example, say I have a generic application that routes message delivery
events for one or
hi folks!
when attempting to configure mysql to run with jboss the following problems
still occur. the fascinating thing after all is that i can access my database,
but it nethertheless throws this errors which keep me thinking.
i really appreciate your help since the problem persists for hours
Hello All,
I am trying to get JBoss to work with Oracle as the database. While I hae
largely succeded in it, I cannot remove the hsql* files. As soon as I remove
them I get errors.
JBoss is trying to instnciate MBean for
jboss.jca:name=DefaultDS,service=DataSourceBinding but fails to find it
Hi,
did anyone extend the tutorial and tried, for example, to create a user ( a new
customer) ?
I would like to know :
If the login screen had a 3rd button called new user (and suppose
CustomerDaoImpl create method was completed).
How and where do you expose the necessary methods ??
View the
It seems that the j_uri information is available in the existing
javax.servlet.forward.* attributes so you'll have to describe what that won't
work. You can create your own valvle to replace the default form authenticator
to include your non-standard attributes.
Hi, justkeys
I tried it works. but I am still confusing, since it is just JNDI over http,
how message send between server client side? would you please explain the
communication a bit detail?
thanks a lot
Regards
Dragon
View the original post :
Hi,
The following code fails in the Javassist compiler:
if ( $3 instanceof Object[].class )
| return $3.length;
Instead I have to use:
Class array = java.lang.reflect.Array.newInstance( Object.class, 0 ).getClass();
| if ( array.isInstance( $3 ) )
| return $3.length;
Are
Hi,
The following code fails in the Javassist compiler when $2 is a primitive array:
if ( $2 != null )
| return $2.length;
Instead I have to use:
if ( System.identityHashCode( $2 ) != 0 )
| return $2.length;
Are there plans to add support for comparing primitive arrays to
Any update?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868133#3868133
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868133
---
SF email is sponsored by - The IT
Ignore - I forgot to watch the topic :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868135#3868135
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868135
---
SF email
Ignore - I forgot to watch the topic :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868136#3868136
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868136
---
SF email
How does jboss judge whether the connection is used by an application or not?
Suppose the application has connection leak. It hold a reference to the
conneciton, but there is no sql activity. Should jboss collect the connection
from application in this case?
View the original post :
I have Jboss 4.0.1 and mysql4.1 and j2sdk1.4.2_07. i have deployed a ear file
which contains 1 entity bean . I get the following errors when i start the
server
ObjectName: jboss.j2ee:jndiName=ejb/Example/Story,service=EJB
state: FAILED
I Depend On:
Depends On Me:
my custom login module is similar to DatabaseServerLoginModule to extend jboss
UsernamePasswordLoginModule.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868139#3868139
Reply to the post :
i just found two resources that address the project structure and naming
conventions from the Java Blueprints pages:
Blueprints - Project Conventions for Enterprise Applications
- http://java.sun.com/blueprints/code/projectconventions.html
Blueprints - Naming Conventions for Enterprise
I have configured EJB+SSL setup according the chap8/ex4. I am using Jboss 4.0
and Stateless Session bean for example
These are the files I have made entries
Jboss-Service.xml
--
H:\JBoss4.0\bin\chap8.keystore
rmi+ssl
14445
i'm planning on using log4j for logging application events for an EJB component
which consists of SessionBeans and EntityBeans. i'd like to have my component
logging separate from the application server logging.
being an EJB novice i'm having problems figuring out how to do one-time global
This has nothing to do with EJB. You need to modify your conf\log4j.xml and add
your own appender.
Have a look at http://www.jboss.org/wiki/Wiki.jsp?page=Logging
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868145#3868145
Reply to the post :
The EJBTimer is looking for the type mapping meta data for the datasource.
Add the following non-optional attribute to your -ds.xml datasource
!-- required attribute for EJBTimer --
type-mappingmySQL/type-mapping
Replace mySQL with the correct type mapping for your
Unless i'm mistaken, any jndi lookup with a java:/ prefix most likely will not
work outside the container... so you're looking up a connection factory on
another server?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868147#3868147
Reply to the post :
why don't you just configure the methods in your session facade to have the tx
attribute to be Never or NotSupported ? i.e.
| container-transaction
| method
| ejb-namemySessionFacade/ejb-name
| method-name*/method-name
|
anonymous wrote :
| Its a bit difficult to turn the mindset towards Hibernate, after thinking a
lot about Entity beans.
|
hmmm... if you're using BMP entities, then hibernate should be a very natural
fit just skip the hibernate transaction stuff...
View the original post :
49 matches
Mail list logo