Hi Hans-Martin,
maybe I'm not understanding your problem correctly, but here is what I would
do:
1. You have a jsp with a form that has an action that points to a servlet.
2. In this servlet you are handling the request. You could have one servlet for
each button or one servlet for all and
I don?t know what hibernate session factory does but you can have a POJO which
encapsulates the functionality of creating the session factory . This POJO
needs to defined in the jboss-beans.xml file and deployed in the kernel, this
is done by bootstrapping.
You got to refer to this link to
Hi,
Thanks Dimitris for your answer.
I've search for the option but I can't find it.
As you told me, in the org.jboss.console.twiddle.Twiddle.java, I can see:
Properties props = new Properties(System.getProperties());
props.put(Context.PROVIDER_URL, serverURL);
ctx = new
Hi there,
I've got an System with two servers on each of them I've got a JBoss and a
postgresql database. The both Jboss-servers are clustered.
The postgres-databases are replicated by c-jdbc.
Now we need also jms (and of course clustered). As described in the
documentation I've changed the
I know it is a small problem, but when i go through the seam document (all
documents,articles in the internet), I found all the action code actually has
mixed responsibility: page navigation and business logic. See the following
code from book demo:
@Stateless
I didn' want to start a flame. In fact I didn't understand you refer to client.
It seems to have trouble, we don't use it except in some little use case. We
works mainly on the server side.
IMHO opinion jboss still the best AS on the market. And I mean the best one,
not the best open source.
I
Hi,
I don't think JBoss has a feature for that. Instead you can use a
RollingFileAppender like this:
|appender name=LOGFILE
class=org.jboss.logging.appender.RollingFileAppender
| errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/
| param name=File
No!
I'm saying that there is bug in implementation of end() method.
There is missing line that I wrote above in src.
And if you want to get transition name inside Event action, you cannot, cause
it's not set.
View the original post :
Hi All,
I have a .sar file where the requirement is such that i need to write the logs
at two places. I dont have log4j.jar in my .sar file. All I have is log4j.xml
(configuration file) just in root dir. (.sar/). The .sar file contains WebInf
dir and also metaINF dir. I have include the part
I'm new to jbpm and I want to configure jbpm to run on tomcat.
Can someone help me to that?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989596#3989596
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989596
Hi,
I'm trying to migrate to Seam 1.1 and having some problems. I hope that
somebody can help.
On several pages in my application I make use of the
DataModelWithTomahawkDataTable workaround mentioned on the wiki
(http://wiki.jboss.org/wiki/Wiki.jsp?page=DataModelWithTomahawkDataTable).
Since
Some tips here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployTipsAndBuildSampleScripts
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment
http://wiki.jboss.org/wiki/Wiki.jsp?page=RedeployAnApplicationWhenChangeAFileInAnExplodedDeploymentDirectory
View the original post :
Hello,
thank you for response, however it will not help. I made some investigation.
DeploymentScanner scans for file that should be deployed, i.e. my WAR
directory. However, when it decides to deploy the WAR directory it calls so
called MainDeployer. The deployer then calls TomcatDeployer which
Could U show some code?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989600#3989600
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989600
___
jboss-user mailing list
fonseca,
No, id equality is not an absolute requirement.
Lets say you have a nationality dropdown; we'll call the objects looked up for
the dropdown v1, and the the objects looked up by the entity converter v2.
In the dropdown you select British as your nationality (which is Britishv1);
the
To my opinion this is a pretty standard way of using JSF, so it's quite logical
to map the same examples to Seam.
I do agree that it's not the best seperation of concerns, but on the other hand
it works pretty well like this.
Specially for smaller applications I see no good reasons to do
I ran in that problem few days ago while struggling with @NotNull validation.
I then wanted to use the requiredMessage attribute and could not manage to have
it work
After looking at the code, I discovered that it is not implemented in
myfaces-core-1.1.4!
I don't know if there are any
Hello,
my name is Hans-Martin. I am a student from Germany.
I have a very big problem. My Professor wants me to send events via JMS to a
Complex Event Processing Platform.
First of all my professor gave me the simple job to create a jsp with 4
Buttons. He wants to see ?something move??.
The
copy (not move) tomcat55-service.jar from deploy/jbossweb-tomcat to
server/default/lib
perhaps someone has a better solution?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989605#3989605
Reply to the post :
I think .sar files are first to be deployed. In your case mysar.sar executes
something before the rest of the files get to be deployed. That's why you get
the Exception. Read more about the jboss-service.xml...
| C:\jboss-4.0.2\server\default\conf\jboss-service.xml
| ...
|!--
Sure. Here we go:
The session bean:
@Stateful
| @Scope(ScopeType.SESSION)
| @LoggedIn
| @Name(searchTestaction)
| public class SearchTestactionAction implements Serializable,
SearchTestaction {
| @PersistenceContext(unitName = aresDatabase)
| private transient EntityManager
You can provide more separation by returning a logical outcome from the action
method and mapping that to a view from a naviation rule in faces-config.xml.
IMO this provides the necessary split between business logic and navigation.
I guess the Seam examples return view-ids directly as it
Yes, found a lot of them, but this obe seems to be a root:
ObjectName: persistence.units:ear=seam_test.ear,unitName=seam_test
| State: FAILED
| Reason: org.hibernate.HibernateException: Wrong column type: fields,
expected: bytea
| I Depend On:
|
Hi,
Can anyone tell me in with cases, U use Event scope, and demonstrate me example.
Is this even useful?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989612#3989612
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989612
Hi again,
I am calling an action and in this action i am fire a Rule from JRules. Based
on the result of this rule i want to use a transition ( token.signal( xxx ) ).
But when i do this, i get an Exception. Is it not possible to use use
token.signal in an action? And then, how should i realise
All i have a strange problem with my RMI client, i am trying to connect to the
jboss which has been started in my VM by eclipse, when i try and access it i
get the following error.
java.security.AccessControlException: access denied
(java.util.PropertyPermission java.security.poli
cy write)
Yes this is exactly how I want too use it.
Thanks.
Now, another question:
Because I will need this constant outsite the EJB and because the bean
definition is not availlable outside, How can I define this constant?
I use XDoclet to generate my classes and interfaces. Is there a way to tell it
Hi!
I think you should replace:
webservices ejb-link=ResponderBean append=true/
with following code:
webservices ejb-link=Responder append=true/
I think you must use the ejb-name to locate your bean
;-)
View the original post :
You probably need to ask about this in the EJB3 forum. But you at least need to
show us the stacktrace of the NPE.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989616#3989616
Reply to the post :
This is comparable with a request scope. For exampe a page with a backing bean
that can submit data, the backing bean can give feedback, but the data is not
saved after that.
Example:
| !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
|
I use pageflows for the navigation, the beans don't contain any navigation and
I call the action methods using expressions in the flow.
In the views, the buttons return the transitions to use.
It is a pretty clean seperation I think.
View the original post :
Hello.
I'm new to seam and i want to integrate seam capability with AndroMDA product.
I use AndroMDA for generating EJB3 and DAOs.
I made a simple application that allows users login and see userlist.
There are some strangeness:
After user login he able to see userslist. There are an link to
Read more about the jboss-service.xml
| C:\jboss-4.0.2\server\default\conf\jboss-service.xml
| ...
|!--
--
|!-- Deployment Scanning
--
|!--
In the cluster environment. I have two servers. When i start the first server i
dont have any problems but when i start the second server it is throwing the
following exception in the back end.
org.jboss.cache.CacheException: Initial state transfer failed: Channel.getState(
) returned false
anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for:
blog.example.services.BlogExampleService
The blog.example.services.BlogExampleService is not present in the classpath.
Place that class in the application's classpath.
View the original post :
Hi
I'm using Jboss portal 2.4.0 bundled version.
Not configured any database yet.
Downloaded the HelloWorld IPC sample from portalswap.
Using ant I made a build and deployed the helloworldipcportlet.sar, restarted
the server, it shows the following exception:
--- MBeans waiting for other
maeste wrote :
| IMHO opinion jboss still the best AS on the market. And I mean the best
one, not the best open source.
| I started to use jboss since 2.0 (first production environment 2.4.1) and I
read forums and ML since the beginning. I agree with you, a lot of things
changed, community
Hi,
I am new to jboss.please help me for the following problem.
In my application i have a .ini file where we have some configuration values
which must be set at the time of deployment of the build.
What i am trying to do is creating a MBEAN through which we can change the
values through jmx
PeterJ is right, the ordering within an ear was supposed to be based on the
order in which the modules have been mentioned in the application.xml. However,
looks like this was broken sometime back as per this issue:
http://jira.jboss.com/jira/browse/JBAS-2904
Related discussion:
[EMAIL PROTECTED] wrote : This is comparable with a request scope. For exampe
a page with a backing bean that can submit data, the backing bean can give
feedback, but the data is not saved after that.
|
| After showing the entered name, the name is not saved. So if you reload the
page, the
So is there any workaround for this ? I guess the Validator Message also would
not work ??
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989629#3989629
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989629
I am interested in running two different flavors side by side
1. I am currently using struts
2. wanna switch to Jboss Seam
but problem is whatever I have already coded in struts I would like to use it
in Seam if possible and similarly if I design something that is common to both
then should be
Did you check the logs to determine if the MDB was still active. In extreme
cases, like deadlock on database or huge load due to redelivery, it can freeze
and fallover..?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989631#3989631
Reply to the post :
check for null in the equals()
I use an older version of the SelectItem.
When you have the 'noSelectionLabel' I think the equals is called with a null
as well (always return false when the parameter to equals is null
View the original post :
Yes it is basically the POJO you will have to create. There are the changes
that you can configure most of the java class using the MC, these java classes
should be designed as POJO.
Please refer to the samples at the link which I have passed to you.
I think you can have a POJO which is just
That's still a little unclear to me too. One big difference is that @Page can't
be use in session beans.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989637#3989637
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989637
I Have exactly the same problem.
have you resolved it?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989639#3989639
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989639
___
I copy the sar file in the deploy folder. where do i need to specify the class
in the classpath.
Please help me in this regard.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989641#3989641
Reply to the post :
Thanks for the reply.
JBoss runs in cluster mode as this issue exists in the production environment.
We often have noticed that the jms queue is increasing and gets stuck,
especially when there is a high load of traffic.
We use JMS to send emails to our customers. We use ftp server to store the
The server.log looked fine. The last debug output from the relevant MDB was a
message of an succesfully processed message. There wasn't any indication that
anything went wrong.
Should I use special settings or log levels in order to get more information
about the status of the MDB?
View the
I thought Seam was somehow managing that a single JSF lifecycle always got to
see the same stateless bean instance. Apparently I'm using the wrong
Maven2/Facelets port of the dvdstore to learn all about Seam...
http://vyzivus.host.sk/site-files/dvdstore.zip
View the original post :
Not what JBoss/Spring integration is about:
- http://java.sys-con.com/read/180386.htm
More of a Spring forum question.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989647#3989647
Reply to the post :
ok i got the problem.
Its working fine now.
thanks
sam
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989643#3989643
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989643
___
I have changed an existing web application (version 2.4) based on:
- JBoss 3.2.6
- Spring 1.2.8
- Struts 1.2.9
Before the changes the web app starts correctly.
I have modified a Struts Action adding an attribute and relatives get/set (the
attribute class already exists, and it is already
We are using JBoss4.0.1 with Oracle as our JMS Provider.
JMS is Queue configured, to keep emails.
In our MDB, in the onMessage(), the ftp server is accessed to upload attachment
and for sending emails.
When the JMS Queue table increases and gets stuck,
we restart the ftp service.
When this
I have two table with a parten child relation (FK).
Both the table have an autoincrement integer column as PK.
Seamgen generate two entity with a one to many bidirectional relation.
After I have inserted a new instance of Parent Entity and I try to insert the
relative child I have an exception
vickyk wrote : Can you tell me what exactly are you doing with MC , are you
just playing with it or you are incorporating this in a real application?
|
Currently I'm still playing with it. I got this idea from Spring, where Spring
manage the session factory bean. If MC can do the same thing,
Yes, I was correct. The error is caused by Postgres arrays.
I think this isse needs to be fixed somehow. At least by skipping fields of
non-standard types. Here is the generate class with array:
@Entity
| @Table(name = tt, schema = public, uniqueConstraints = {})
| public class Tt
Try changing the @Target of your annotation to ELementType.TYPE. Annotation
introductions are compiled in to the bytecode, and if it has the wrong target
it will not be recognised.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989652#3989652
Reply to the
@dslevine and kukeltje
Thank you for your input, a working solution is being fabricated ;)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989653#3989653
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989653
Hi, I work with MSSQL 2005, update does not removes my rows, but you can
completely remove this property (hibernate.hbm2ddl.auto ) from persistance
config to make sure, db schema will not be recreated once again.
Dalibor
View the original post :
you can yourself by reading the documentation, searching the forum
etc...etc...etc
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989655#3989655
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989655
JimKnopf wrote : Hi again,
| I am calling an action and in this action i am fire a Rule from JRules.
Based on the result of this rule i want to use a transition ( token.signal(
xxx ) ).
| But when i do this, i get an Exception. Is it not possible to use use
token.signal in an action? And
Hi,
I use Seam + IceFaces, and have method in stateful bean
@Begin(join=true)
public String ble() {}
normally when i click on button if a long-running conversation is already in
progress, the conversation context is simply propagated.
Why when I migrated to Seam IceFaces I Seam creates on
I have installed JBoss IDE 2.0 beta2 on Eclipse 3.2.1, and have the same
problem...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989659#3989659
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989659
is it possible to associate multiple keys with the same object without storing
the object twice ?
my key is something like /name/date
and object is a 1000 character string, hence i dont want to store it twice
increasing space..
anyway to do this?
thanks
hari
View the original post :
Hi,
What will be the best way to implement a Audit Log feature with Seam + EJB3
entity beans? I have read thru several docs but was unable to find a way to
pass state to the interceptor. By state what i mean is some data that is
specific to the context. (For ex, the currently logged in
Hi !
Maybe I forgot to mention, that this is a critical issue, even for the customer
who is about migrating an existing application from another - commercial -
app.-server. Operating is the issue, not development.
No one else around here with the same problem, no one of jboss who could answer
Hi,
I am using JBoss-portal-4.0.2. I have a problem with jass code. I want to
disable the password stacking option. How can i do it?
application-policy name=portal
| authentication
| login-module code=com.tsky.customlogin.CustomLoginModule
flag=required
|
Seam + jpdl pageflow really separate concerns very cleanly. You may want to
have a look at the number guess example. There's pure business logic in the
action class. Another example is DVD store, the newuser flow and the checkout
flow.
View the original post :
Just a suggestion, take a look at Taylor:
http://taylor.sourceforge.net/index.php/Overview
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989665#3989665
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989665
anonymous wrote : I thought Seam was somehow managing that a single JSF
lifecycle always got to see the same stateless bean instance
Definitely not. Seam can't magically make a stateless bean stateful.
View the original post :
thanks, I've just tried the fix using the 20061129 nightly build that has the
change in it but it doesn't work for me, it still shows the debug page
I've checked that the download includes the source change
| static ThreadLocal marker = new ThreadLocal();
|
| @AroundInvoke
Thank you Peter, I seem to be getting to the problem now. I have a few Lists in
my entity, and it seems the problem lies within comparing them. When having a
this.somelist.equals(o.somelist) in my equals, wherever the lists are
equivalent or not, the result is always false, therefore generating
Try again, I just fixed the fix.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989672#3989672
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989672
___
jboss-user mailing list
Victoria for what perpose do you use JMS?
We use it to send emails. We are also accessing an FTP server.
What does your MDB do?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989673#3989673
Reply to the post :
I implemented something similar to the audit log code on the hibernate website.
It's an extension to EntityHome, and will scan over the entity being saved,
logging new values (and old values if changed and an update is occuring) if the
property is marked @Auditable. It will follow
Hello.
I want to make the sample program of seam, and to change in pageflow.jpdl.xml
the screen.
The program moves well when pageflow.jpdl.xml is not used.
However, it is not possible to control with jbpm.
Following information comes out though the error has not gone out.
Could anyone
sursha wrote : According to the link below, jbossws1.0.x is a preview
implementation with support for only primitive types.
| http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSupportForJSR181
| I'm using it already with complex object types in document/literal mode.
| We are planning to
your pageflow definition is called registerflow according to this line
pageflow-definition name=registerflow in your pageflow definition. However
I didn't find any @Begin (pageflow=registerflow) in your
RegisterAction.java. You may want to add this to your register() method in that
class.
Correct.
But i allready solved the Problem ... simple just using leaveNode( ... )
instead of getToken.signal( ... ).
A decisionHandler is not possible, because sometimes i need to have more then
one Decision in one node so. (For Example Check some Rulebases if one of these
Rulebase matched
You can look at these 2 links (they explained a lot about validations):
http://www.jboss.com/index.html?module=bbop=viewtopict=90636
http://www.jboss.com/index.html?module=bbop=viewtopict=93507
So my understanding at this point is that the jsf framework will not call any
validator when a value
I guess it would be nice if JSF would let you implement your own equals via the
converter, that way we could automatically provide equality on the @Id property.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989683#3989683
Reply to the post :
I'm interested in this type of functionality, too. In the past I've used a
Hibernate Interceptor and had an extension to my base model object that
encapsulated the fields I wanted audited. I was able to do a type check in the
interceptor code and persist the encapsulated audit log entries
Thank you for the answer.
I cannot straighten out that problem though I tested your advice.
Besides, are there any mistakes?
Could you advise when there is someone understanding?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989684#3989684
Reply to the
And ... thank u for ur response :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989685#3989685
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989685
___
jboss-user mailing list
Hello,
Can u pls post ur code ? Again, how will i persist the audit data from the
interceptor / listener ? (i.e how do i get a entitymanager for that ? look up
the entitymanager factory and get the em ?)
Thanx
Kevin
View the original post :
Hi,
Sorry to reply to my own topics...
I've found how to solve my problem.
There is a jndi.properties file in the twiddle.jar file.
In the jndi.properties file, I've added the line:
jnp.disableDiscovery=true
Now when my Jboss server is down, twiddle.sh returns an Exception.
I still have to
anonymous wrote : It becomes deploy error if it describes it in component.xml.
|
This sounds really weird to me. Can you please paste the full stack of your
deploy error here?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989691#3989691
Reply to the post
If I have a page action with a non-null redirect (a JSF outcome with redirect/
specified in the navigation rule) I get the following error:
| java.lang.IllegalStateException: No page context active
| at org.jboss.seam.core.FacesPage.instance(FacesPage.java:83)
| at
The pooled invoker settings are described here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=PooledInvoker
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989688#3989688
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989688
Sure, I thought I had posted this, but I guess I didn't.
the request object in the sample below is JBossRenderRequest.
| public String getCookieValue(String cookieName) {
|
| String value = ;
|
| cookieName = JSESSION;
|
| try {
|
i can't find any documentation concerning this issue. but i think it means some
kind of hierarchy..for example u want this task to be assigned to the manager
in the HR department and not every body.
so u would specify previous--group(hr)--member(manager). i am not sure abt my
answer.
I tried
When I try to undeploy my web application using stop method of jmx-console it
halts for some time after the message [StandardService] Stopping service
jboss.web and then gives following error message
...---
WARN
HttpInvoker on 4.0.5GA doesn't correctly marshal exceptions from EJB methods.
I'm getting this exception:
| org.jboss.remoting.CannotConnectException: Can not connect http client
invoker.
| at
Hi,
i'm trying to customize a jbpm process by for example integrate other
datafields than a textfield.
Is there any tutorial about how to do that?
When you create a new jbpm project in eclipse there is no way to do so. Do I
have to create a dynamic web project to get more functionality into
anonymous wrote :
| Do you have any comments regarding the fact that the cache will be used
from within the context of an ejb container? That is, thread management and
network IO isn't exactly ideal to be done from an ejb, and is kind of
forbidden by the spec
|
You don't necessarily
Also, a much richer CacheListener interface in JBoss Cache 2.0.0 supercedes
TreeCacheListener and ExtendedTreeCacheListener of 1.x.y.
See the 2.0.0 CacheListener javadoc (currently available as ALPHA1) for more
info.
View the original post :
If they run simultaneously, both transactions won't succeed. One of them will
fail since there will be a race condition to commit at the same time, and both
transactions will have locks on the node in question.
If you removed your sleep time, chances of success are higher, but there will
Not being able to use Java 5 is a different issue than integrating with struts.
There are articles on the web about using struts with JSF. I don't know the
techniques, but if you can sensibly combine them using those techniques, then I
don't see why you couldn't do so in seam. (I'm not sure
1 - 100 of 274 matches
Mail list logo