Please take a look at the service_deployment_descriptor tutorial. Although it
doesn't use attributes it should be no problem to add them.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972812#3972812
Reply to the post :
I've amended
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance
so it's not more general now (it doesn't apply to JBoss 4.0.4 anymore)
I also created a completely separated document that explains how to deploy a
scoped MDB:
the call for my ejbs from my application is local
but at this point i'm in the ejbs and have access only access to injected ejbs
private @EJB
OrdersFacade ordersFacade;
all are stateless, except sessionFacade which i set in my application to get
the correct on and have access
Well, if the problem is fixed, I don't those log entries anymore :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972816#3972816
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972816
and interface defined hier
import java.util.Date;
import de.Test.entity.Orders;
public interface OrdersFacade {
/**
* Makes a Orders object persistent
*
* @param order
*Orders object
*/
public void save(Orders order);
Hello,
How can I generate Hibernate mapping file (hbm.xml) with JBoss-IDE ?
I am using Hibernate Annotation, I just want to generate the hbm.xml depends on
those annotated class. Can the Hibernate Tools do this ?
Best regards,
Eric
View the original post :
yes (to the extent that the mapping conversions are implemented)
note that a bug in the current release prevent it from working in the IDE and
only work in the Ant version.
The nightly build should work though.
View the original post :
Hello,
It seems that Seam and Icefaces are not ready for integration yet.
See this post:
http://www.jboss.com/index.html?module=bbop=viewtopict=90059
Regards,
Jerome.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972820#3972820
Reply to the post :
Is it possible that JbossCache can use Jboss Transaction for transaction?
Doesn any one has any idea how to use Jboss Transaction for JbossCache...
Thnx
VelPandian
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972821#3972821
Reply to the post :
Thanks for yr prompty reply:) that clarifies something.
When i say i'm accesing remote ejb interface and local ejb interface from a
same cleint.
I mean i have the same (only one) JVM on my pc and i'm accesing this from my pc.
What i think is different is that my jboss is running inside
I tried to integrate Trinidad with my current application that already using
SEAM/Facelets/Tomohowak/AJAX4JSF
it doesn't work , I get a warning (Unsupported component-family/renderer-type)
for each trinidad tag I put in my JSFs...
anyone done such a thing before(maybe even ADF)? can you please
I can't create a component within a seam pageflow:
The following code works if the 'contactAction' seam component has already been
created, for example when viewing a facelet using it.
| start-page name=contactPage view-id=/pages/contacto/index.seam
| redirect/
|
I would agree that some improved kind of debugging of this is needed, it is
definitely an important issue when you are starting to use Seam. Also, I know
how and why the current code spits out dozens of lines of looking for,
found, and not found messages for variable resolution, but I also
First iI modify my code in order to delete the jbpmsession, I use now just the
jbpmcontext.
For creating an processInstance I try to put just after a creation of process
instance Collection
processinstances=graphSession.findProcessInstances(pd.getId()); but I have an
error of transient
Is there anything in EL that allows you to force existence of a variable ?
This is similar to the struggles i had with velocity vs freemarker.
Velocity assumes non-existence is ok and just output null where as FreeMarker
takes the opposite stance and complains if it does not exist plus having
This should work fine:
public class SeamVariableResolver implements VariableResolver {
|
| public Object resolveVariable(String name) throws ELException {
|name = name.replace('$', '.');
|return Component.getInstance(name, true);
| }
|
| }
View the
Just write a JSP custom tag:
my:assert expression=#{not empty foo}/
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972847#3972847
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972847
create a component which holds the constants as properties, and use EL:
h:outputText value=#{constants.someValue}/
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972859#3972859
Reply to the post :
Post the console log and code for us to see.
Try and get only the relevant portion.
Also, are all the three instances actually saved in db? Can you do a select *
from jbpm_processinstance.
If this does not return anything, you can try closing the jbpmContext after
saving the process instance
Those files are not manageable by the CMS.
Your files need to be in the CMS server.
If you want to display files that are inside your war file, you need to write a
portlet that will include the JSP/HTML. The same way User portlet is made.
View the original post :
This is my file code:
public class CreateProcessInstanceAction extends ActionSupport{
|
|
|
|
| private String nameProcess;
| private String currentNode;
| TaskInstance taskinstance=null;
|
| static
Well, the idea was that event sinks periodically call 'Renew'. But i'd happily
accept that patch in order to make it configreable. Could you create a JIRA for
that and attach the diff to it?
--
Heiko
View the original post :
Looking at the code it appears, as alex pointed out, you have not deployed the
process definition.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972865#3972865
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972865
in jboss i get exception if i want to access while not implements Serializable
in the ejbs why?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972866#3972866
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972866
i have a stateful ejb called session which reference i save in the httpSession
of my application
in the session i have the object
private ActProductInfo actProductInfo = new ActProductInfo();
actual if i use remote access to my ejb this object is never filled
so i had the idea to make
I see the same exception in my 4.0.4GA, but the adaptor seems to be secured.
I can't use shutdown.bat without setting the correct username and password.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972870#3972870
Reply to the post :
Could you please to give me a simple example for calling the Ant task to
generate the hbm.xml from annotated classes?
Best regards,
Eric
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972871#3972871
Reply to the post :
[EMAIL PROTECTED] wrote :
| I am working on that very thing. Actually putting together a whitepaper
that speaks to JBossCache specifically.
|
Good! The example POJOs are located under examples distro. There is actually a
loodtime directory that is using the special classloader (except it
you mean like this example in the documentation ?
http://www.hibernate.org/hib_docs/tools/reference/en/html_single/#d0e1038
:) (note, there is a typo in the spelling of annotationconfiguration but
otherwise it should be fine)
View the original post :
How can I deploy it?? when I do pi = new ProcessInstance(pd); I create an
instance of my porcess definition so I thought that I deployed it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972876#3972876
Reply to the post :
ok I found the function jbpmContext.deployProcessDefinition(pd);, but It no
resolve my problem because I create a processdefinition for each instance of my
portlet but I want just one Instance of my porcess definition instance. In
order to have all the porcessInstance
View the original post :
Thanks Gavin for the response, but where do I need to put that VariableResolver?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972878#3972878
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972878
Hi all,
With updating to EJB3.0 RC9 our problem has been solved. JBoss handles the
ports settings correctly now and we can run it with others then just
ports-default.
I truly hope the guys from JBoss make it this time to keep the faulty code out
and not merge it in again in a later
HI,
When I try to access my application I get the following error message?
(/myapp/pages/login/login.seam) is not available.
when I navigate through my exploded directory structure I cannot see it.
What are these seam files?
When are they generated?
Any clues as to why it is not being generated?
I am developing Document-literal style webservice using wscompile tool
bottom-up approach. I have defined an interface in which I am using SOAPElement
as in/out parameter.
While compilation it gives following error-
Type javax.xml.soap.SOAPElement implements more than one interface,
That's just a mapping. Usually you have .xhtml files, but in the web.xml you
say that the web server shall simulate another extension.
In traditional JSF it's often like that:
Original file: whatever.jsp
Acessible via: whatever.faces or faces/whatever (those are two often used ways)
Got the
Hi All
I am developing an application with EJB 3.0. Now I don' t have any IDE.
I have written a Simple Stateless session bean may be a bean that simply
returns you the Hello message.Sice it is EJB3.0 compliant it contains
Annotations. But When I compile the class ,I get an error
There is no prerequiste as such. The basic thing i need to install the JBoss
As and Portal from Binary and i need to develop a portlet and using JSR 168 i
need to interface the same with an external system. In 4.04 GA there is
run.bat file in the root/bin. Since am using a Windows xp OS i
Hi,
I am using Seam, the Embeddable EJB container and Tomcat.
Simple question, how do I increase the logging in Seam?
Many thanks
Jim
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972888#3972888
Reply to the post :
Hi!
I have a problem here which I have been unable to solve...
I have here two statufel Seam session beans. One uses the DataModel and
DataModelSelection mechanism to fetch some data rows. The other is used to edit
an item from that list.
What I have done is this: I added a getter for the
I am unable to see the CMS login portlet in the admin page. and also the
default page is missing the JBoss portal portlet. What could be the reason for
things are not been focused here. Is there any problem with my installation.
Please advise.
---Raj
[/img]
View the original post :
I made a cheap hack in outjectDataModelList() in Component.java that made
things work as I expected (for a page-scoped DataModel in a session-scoped
bean). I changed this:
| context.set( name, wrapper.wrap(dataModelAnn, list));
|
to this:
| if(existingDataModel != null) {
I have scoped an MDB with four jars mentioned in the doc and deployed. It
complains about ClassNotFoundException on JBossConnectionFactory.
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for:
org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class
Hi,
I am watching one of my connection pool (most used) using JMX-Console for a
while... Eveything goes fine except InUseConnectionCount is increasing nearly
by 1 per hour...
I know it should be increased and decreased according to the usage of system...
I can see that movement... But per
Well, I found the answer, but that raises even further questions...
It turned out, I had different names for my Charge entity and the fields in my
session beans. So the field was not correctly outjected and thus overwritten
with null when being injected again on the next method call.
After
I know you are not using 4.0.4 in your project, but can you try it on 4.0.4
then we can isolate whether the problem is related to 4.0.3?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972896#3972896
Reply to the post :
Hi,
I have configured my JBOSS 4.03SP1 to use TLS for its EJB stateless bean
connections. I have verified that TLS is infact inplace and once I remove my
truststore from my client I can no longer communicate with the JBOSS server(No
cert found exception). However my self signed cert which is
It turns out our friend wolfc is correct. Oracle will return either a CHAR(8)
or VARCHAR2(8) value padded out with spaces till the end.
Only a search for:
entityManager.find(Language.class, en );
will return the correct row. This works fine when you are following
relationships etc as
Well if the process definition is different for each of the portlets then you
cannot get the instances.
Ideally, you should deploy the process definition and each of your portlets
should be creating an instace of the definition, then after saving the process
instances created by the portlets,
I originally did not use @ as my UNIQUETOKEN because logins can be email
addresses, but there's surely nothing wrong with splitting on lastIndexOf(@)
rather than String.split()...
Although a good idea, this doesn't help me with my particular problem. It
matters not how the two strings are
Sorry for the confusion but I have successfuly got it working with a VARCHAR2()
column. First of all I set the table up like this:
CREATE TABLE CURRENCY
| (
| CURRENCY VARCHAR2(8 CHAR) NOT NULL,
| ...
| )
This yielded the same sorry result of padding chars.
Hi there, i am having the exception above mentioned, I would appreciate very
much if someone could help me. I have this methods:
public class GexpRequestProcessor extends TilesRequestProcessor {
public void process(HttpServletRequest request,HttpServletResponse response)
throws IOException,
Right. Use FOR UPDATE to get a row lock. The hibernate code appears to do
this so it can udpate the counter in an atomic transaction. That seems fine.
Not sure what you are trying trying to convey. Can you restate or email me in
private?
View the original post :
Look at value attribute of @Out and @In annotations. It lets you specify name
of the component. So you can do something like this:
| @Out(value=charge1)
| private Charge chargeItem1;
|
| @Out(value=charge2)
| private Charge chargeItem2;
|
|
View the original post :
The @Stateless annotation is in the javax.ejb package so you need this import:
import javax.ejb.Stateless;
In the JBoss EJB3 implementation, the Stateless class is located in
jboss-ejb3x.jar.
Regards,
Scott
View the original post :
The simple way to overcome the Hibernate collections' problem is to copy the
contents of the collection in your object to a standard Java collection
property before putting the object in the cache (e.g., in each setter method
which Hibernate uses, replace the incoming Hibernate collection with
yes but i must execute my process by lot of poeple who are very differnete
client of a compagny, then a secretary, a manager and I will not take each
person in order to do each work on the same computer. So I want to create an
isntance of process and execute by different instances of portlets.
Thanks, that was exactly what I was looking for :)
Regards,
Phil
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972916#3972916
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972916
Hai,
I am new to the environment of Jboss and Eclipse, Right now my project is
going on in Linux environment and i want to know that what is the need of
plugins in this environment, any one can assist me on this
please
View the original post :
Epilog:
By accident, I finally found out what caused the error -
Incorrect mapping of class field/method to a column (in my later case it was
filed comment on the column comments). It has nothing to do with batch
support and alike.
tnx to everyone who tried to help out a noob ;)
View the
4.0.4.GA is out, please use this one instead of the candidate for release.
2.4.GA is out as well, don't use the alpha version.
If you don't understand release names, please refer to:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProductVersioning
View the original post :
I started 2 server configuration directory, default and test.
default use a binding port 1099 (default port).
test use a binding port 2099.
i'm using JBoss AS 4.0.4.GA and JBoss-IDE 2.0.0.beta1
but when call stop test server, he call shutdown on port 1099...
how can i configure a port for test
I have a problem with alter-table it does not work. Everytime if i use that it
will be ignored or callback only Failure. Is there any solution.
Background is for example to make the update process during development and
work easier. I work Jboss 4.0.3 and MySQL 5.0. Thanks for answer.
*
Or, you can use the @Roles annotation in the bean itself to indicate that it
has more than one name (and possibly different scope for each name)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972927#3972927
Reply to the post :
I read Jboss AOP framework documentation, about hot deployment and run time
aspects because I want to be able to activate/deactivate aspects during
execution of my applications. I use the AspectManager class and AspectXmlLoader
class to load xml tags during runtime and I saw that it works well;
What was the help? I think I need the same help.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972928#3972928
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972928
___
jboss-user
If it sheds any light, I get the following error when running the test ant
script (section 5.3 of
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/guide-1.0.1.CR4/html_single/index.html#installation):
/u/etolson/downloads/jboss-messaging-1.0.0.GA/examples/queue ant
I found the error: that is I missed to collse the context :
jbpmContext.close();. Now I have my porcess definition instance
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972930#3972930
Reply to the post :
For it to be possible to attach aspects to a particular method/field, you need
to prepare those joinpoints as you mention. In effect this means weaving of
the class, and this can only take place at compile-time (aopc) or when the
class is first loaded (using the classloader hooks). Once the
If one of you can create a small sample app and attach it to a jira issue I can
take a look
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972932#3972932
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972932
You shouldn't need to do anything, that is built in to Seam.
What I'm trying to say is that any Seam component should be auto-instantiated
by the jBPM variable resolver.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972933#3972933
Reply to the post :
Your environment sounds pretty messed up.
You get this error when you attempt to run JDK1.5 compiled classes using JDK1.4
The actual class is java.lang.Object (!), so you probably have the JDK1.5
rt.jar on your classpath.
View the original post :
Hi all, I am using jBPM in my project and for my company I need to describe
each table and column used by jBPM.
Is there any documentation about that, without need look the source code?
tks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972935#3972935
I'm not sure I understand the question, please provide more detail.
Typically what you would do would be to initialise the AspectManager with an
-aop.xml file using the AspectXmlLoader so that all the bindings are available,
and then from within your classloader call AspectManager.translate()
Any luck in trying JbossCache as stand alone and running under distributed
transaction?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972938#3972938
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972938
I still don't understand the problem, but is it similar to this JIRA issue:
http://jira.jboss.com/jira/browse/JBSEAM-308
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972937#3972937
Reply to the post :
Hi,
I tried to view all acitve HTTP-Sessions. but I get an very strange error:
here is the code i used:
MBeanServer server = MBeanServerLocator.locateJBoss();
| ObjectName oname = new
ObjectName(jboss.web:type=Manager,path=/,host=localhost);
|
| String sessionids =
Hi,
I am new to JBoss 4. I created a war file with all jsp files in root dir and
all supporting classes in /WEB-INF/classes/ dir. However, when I tried to load
the jsp page, the JBoss server could not find the classes.
Thank you very for help
Joe
View the original post :
Hi again,
I found out that not the access rights were lost but only the username has been
overwritten (which we use to get additional information from a database).
I've added support for an unauthenticated identity in our selfwritten
ServerLoginModule the same way it's done in the sample
I tested on 4.0.4, looks like the problem still exists!
When I scope the MDB jar and deployed to server, I get NCFE on
JBossConnectionFactory!!
| javax.naming.CommunicationException [Root exception is
java.lang.ClassNotFoundException: No ClassLoaders found for:
Hi @ all,
i have a similiar problem like rkiesi.
I want to change the localization of the whole portal without userlogin!
I have build up a jsf portlet which contains a combo box where you can select
your language and i store the selected language in the session:
Code inside my managed bean:
Come on.. PLEASE.
there is a link just above THIS post in THIS forum. It is even sticky. guess
what is says
I hope this is not going to be sympomatic... sigh...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972945#3972945
Reply to
We have a requirement to use a different URL for SSL and non-SSL sections of
our website. The problem we run into is that Tomcat recognizes this as a new
request and creates a new session ... which is correct according to the spec
but does not help us.
Anyone know how to config Tomcat/JBoss
I should of clarified that the SSL domain is a subdomain (secure.mydomain.com)
of the non-SSL (www.mydomain.com) domain.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972947#3972947
Reply to the post :
jboss-aop.jar, jboss-remoting.jar, jboss-serialization.jar need to be in the
lib directory, mdb.jar doesn't.
Have you followed the instructions Ovidiu created on
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Deploying_a_scoped_MDB_containe
Can you send me and Ovidiu your ear
I solved the problem by changing perl module.
The perl module to be used is SNMP.
As CPAN states:
SNMP - The Perl5 'SNMP' Extension Module for the Net-SNMP SNMP package.
The core of my perl script now is:
| my %snmp_server = (
| hostname = $host,
| communit
how can I delete after using a porcessdefinition deployement. Because I have a
creation of a processdefinition deployement for each instance of a
processInstance. But When it is finished I have always the old
processdefinition deployement.
thank you for you help
antitrust1982
View the
Try scoping your EAR. Have a look at
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration which
describes how to do this.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972951#3972951
Reply to the post :
First of all, i'm sorry for my english, i'm spanish.
We have a jboss application server with an application running without
problems, and now we want to publish this application in internet, how we have
to configure the jboss to achieve this?
Thanks in advance.
View the original post :
The structure of my ear is as follows:
+-META-INF
||
|+-- MANIFEST.MF
|+-- application.xml
|+-- jboss-app.xml
|
+---lib
||
|+-- jboss-messaging.jar
|+-- jboss-aop.jar
|+-- jboss-remoting.jar
|+-- jboss-serialization.jar
We use 1.5, so yes I have the JDK 1.5 rt.jar on my classpath - does JBoss
messaging require Java 1.4?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972954#3972954
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972954
The core of the problem is that even though the actual list instance that is
being wrapped did not change, the code outjects a new wrapper. If the code is
updated to preserve the existing wrapper if the underlying wrapped data is not
changed then the problem goes away. (This is the fix proposed
Ignore that last paragraph, I rewrote the message and didnt realize I had that
at the bottom =)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972956#3972956
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972956
I haven't found it in the reference:
Does bijection, context demarcation, and validation work on SLSBs and SFSBs
even if those beans are not Seam components (i.e. have no @Name annotation)?
My understanding is that it could work, because the seam interceptor defined in
ejb-jar.xml applies to
I wonder, if you have defined your server successfully.
This happens by opening first the JBoss Server View
Windows = Show view = Other.. = Server = JBoss Server View
Then by right-clicking Jboss Server View = New = Server = Server window with
name and home directory information
When you have
I to am affected by this problem. Where can I find instructions on how to get
the src and build it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972959#3972959
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972959
Thanks! I didn't see that issue when I searched for DataModelSelection
incorrect (and a few others). Next time I'll do a more general search (like
just DataModelSelection) and browse through all the results.
Is this something I can volunteer to fix? I've never contributed before, but
I'll
Hi;
How JBoss does not provide an interface of communication between JBossMQ and
MicroSoft plateforme ?
If I have an application (dll ou exe) under MS which want send/receive event to
JBossMQ in mode async = which is the solution ?
Regards;
View the original post :
hello,
I'm trying to deploy a spring application (no EJB inside only POJO class) with
deployer ( Jboss 4.0.2 : the one packaged with jbpm)
i export a jar(test3.spring) from eclipse and place it in deploy folder, when i
watch the log everything seam to be ok :
i get the following message : Bean
Thanks for the response.
However, that's where I noticed the problem: in this tutorial, and the service
bean tutorials, the jboss-service.xml obviously is not used - even it's left
there (only with the following content):
?xml version=1.0 encoding=UTF-8?
I also tested with some my own
1 - 100 of 230 matches
Mail list logo