Getting occasional NPE immediately after jboss
startup, any idea what's causing this ?
2006-04-03 08:56:02,687 INFO {main}
[org.jboss.system.server.Server]
(ServerImpl.java:475) JBoss (MX MicroKernel) [4.0.3SP1
(build:
CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in
7m:6s:516ms
2006-04-03
A best practices guide for security in Seam seems to be in order. I think the
use cases can be boiled down to a few scenarios, then an explanation as to how
to address them will tell you whether the present mechanisms are sufficient, or
if an Acegi mechanism is needed.
I am a big believer in a
You have to cast to DataSource
...
DataSource ds = (DataSource) ctx.lookup("java:/postgresqlXA");
...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954867#3954867
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954867
Can I pass in an object?
I switched to Validator an the code is way cleaner. See below. I was able to
remove the inner class which I did not like.
The only side effect that I am not fond of is that JSF intercepts the
validation if something other than a number is entered.
Before my message w
For your 'limit' validator you could go pass in the limit value directly to
your custom validator:
- again how it works with dataTable I'm not sure.
The trouble with the inbuilt:
is that (with MyFaces at least) is that the attributes of the f:validate* tags
is afaik they don't accept EL.
Yeah, I got the same problem. Tried with 3873 and everything works fine, with
another port it doesn't. Do you know if there is a task in JIRA for this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954862#3954862
Reply to the post :
http://www.jboss.com/ind
Thank you very much for your response.
I always share any success I have. These forums are you vital to my progress,
and I feel the responsibility to post my results in order to help others.
I am also posting on the facelets list. As far as JSF stuff goes they provide
awesome answers there.
I would suggest using a Validator to do validation, not a Converter (concept
clarity, aviods a pointless getAsString() method).
A few ideas:
I'm not sure you can get anything except the value in this case - the component
and its parent (etc) are of no use. My best suggestion is to write a Facel
www.cygwin.com
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954859#3954859
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954859
Using Tomcat but need to do more? Need to support web services, security?
Get stuff don
I'm assuming that you're referring to the removal of the files in the work
directory after a shutdown. Apparently this was added as a "feature", but I
think of it as a bug because the work directory is also the default directory
that Tomcat uses to write the serialized HTTP sessions to a file (i
OK, this one's solved. Eclipse's log included:
anonymous wrote : ... Caused by:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than o
I am trying to validate a list of entry by using the EntityManager to query the
database to check limits. I can also see myself using this for a list of
tracking numbers like on UPS as well. For each I would like to hit the DB and
see if it meets my criteria and give a meaninful message to the
I fixed this by downloading the xerces source and changed the package(SAXParser
package) to different name and re-compiled the source to to different jar file,
deployed in lib folder and it worked for me. Try it and let me know
View the original post :
http://www.jboss.com/index.html?module=bb&
http://www.Crackpasswords.net
... I want to see whether my wife / girlfriend is cheating me
or not
... someone hacked my email-id and I want to hack his/her ...
... I am a lawyer and want to save my client by breaking into
my co-defense lawyer's email account ...
... I think my employees ar
This exception is being thrown by my ejbStore method.
my ejbCreate method is successfully creating a new row in the database but then
fails on ejbStore.
ejbStore calls the following method to do the database work required
| private void storeRow() throws SQLException
| {
| Stri
good call... never experienced a problem with JBuilder itself like that before.
compiled by hand and everything is working excellent now.
thanks for your time and patience.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954848#3954848
Reply to the post :
h
great, thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954846#3954846
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954846
Using Tomcat but need to do more? Need to support web services, security?
Get stuff
right
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954845#3954845
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954845
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly
Ok, and state-management of [EMAIL PROTECTED]/@Out-fields is not subject to
Seam, right?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954843#3954843
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954843
Using Tomc
anonymous wrote : now if i set the portlet state to MAXIMIZED all the other
portlet disappear, menu too; but we need the menu so that the user is alway
able to return to the home page or to another page by clicking on the menu...
There is a way to create a 'persistent' navigation menu that lists
If the thing being @in-jected is a session bean, then it is only a proxy that
is held inside the bean. Whatever, it is fine to declare all @In fields as
transient if you like, and then they will be ignored by the EJB container.
View the original post :
http://www.jboss.com/index.html?module=bb&
Hi,
the Seam-reference documentation says, Seam provides deep integration with EJB
3.0 and fully supports EJB3.0 session-beans.
It is clear that Seam manages state of components that are put into the
seam-context using @Out and fetched from the context using @In.
However if I have a stateful se
I also have the same question. Does anyone knows the answer?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954838#3954838
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954838
Using Tomcat but need to do more? Need to
Cool,
that what I'm looking for, it's really a waste of an action / navigation-rule
for raising an 'edit' form for the selected @DataObjectSelection entity,
Are there any examples for this? it'll be nice to see a simple CRUD app,
I appriciate your help.
View the original post :
http://www.j
You can always just go and download the latest facelets jar from the facelets
site ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954836#3954836
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954836
Using Tomcat b
Right, @In is handled by Seam, and is aware of the Seam names and Seam
contexts. For stateless beans there is not really a whole lot of difference
between the two. In that case, they are each just sugar over a JNDI lookup. For
stateful beans they are very different.
View the original post :
ht
Hello,
when I have a stateless service-bean which contains several stateless
dao-beans, where is the difference between the two relevant annotations @In and
@EJB for injecting the dao.
Is it correct that @EJB means the EJB-Container manages and injects the dao and
that @In means the Seam-framew
Ah great. Looking forward to see it.
Seam is a pleasure to work with (apart from that small issue that kept me busy
a couple of hours :-). Thank you Gavin!
/Tomas
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954833#3954833
Reply to the post :
http://www.
Download the src; look into build.xml, there is a gossip-service target there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954832#3954832
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954832
Using Tomcat but need t
Problem solved.
garth
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954830#3954830
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954830
Using Tomcat but need to do more? Need to support web services, security?
Get st
The facelets jar that shipped with 1.0.1 was kinda old.
I've already upgraded it in CVS.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954829#3954829
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954829
Using Tomcat
I have the http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954827#3954827
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954827
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated t
ie. an @Factory method that outjects the Role, after either getting its id from
a request parameter, or calling back to the other component to get the
@DataModelSelection.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954826#3954826
Reply to the post :
htt
It is *totally* possible to do this in pull-MVC style, without using an action.
Perhaps the easiest way for you us to use an @Factory method.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954825#3954825
Reply to the post :
http://www.jboss.com/index.html?mo
yeah,
I see the problem...
Well, I looked at both examples,
I couldnt find any example that links from a datatable selected row to another
page without passing through an action... :-/
Thanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954824#39548
yeah,
I see the problem...
Well, I looked at both examples,
blog example has two actions, delete/select, both use an action at the backend
and make a usage of the 'DataModelSelection' object,
I couldnt find any example that links from a datatable selected row to another
page without passing thro
Oh OK, I see what you've tried to do.
No, that will definitely not work. You never outject the value of the
@DataModelSelection into the context variable named "role".
Seriously, you would be much better off taking a look at how the booking demo
and the blog demo handle navigation from a list.
With newer versions of facelets, it will use the http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954821#3954821
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954821
Using Tomcat but need to do more? Need to support web services, security?
Get st
Hey again,
'@In(create=true) @Valid Role role' is irrelevant for this,
I have another page named 'roleAdd.xhtml' which its data is submitted to this
entity, I hope it is valid...
I did post the code for that class... see above, it is the class with the
@entity / @name("role"); annotations.
reg
"trouby" wrote : It is actually almost empty, I just added one input tag to see
if the selected 'role' from last page is accessible...
The Java code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954819#3954819
Reply to the post :
http://www.jboss.com/inde
Actually, your roleManager class looks broken, but its hard to say for sure.
It's a stateless component, hence the @DataModel scope defaults to EVENT, which
means that the @DataModelSelection will always be null.
I have no idea what "@In(create=true) @Valid Role role" is for, but since you
dec
Hey again,
It is actually almost empty, I just added one input tag to see if the selected
'role' from last page is accessible...
|
| #{msgs.description}
|
|
|
|
|
|
in order to see if it's injected into role entity...
the plan was add an action for the
You are trying to go against the specs, when you must obey them.
The boundary for your portlet is a portlet window, anything that beyond that is
out of your reach. Also you don't know how many pages portal has, or how many
portlets on the page, etc.
Imagine that portal is your windows, and your p
You still didn't show the code for roleEdit.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954815#3954815
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954815
Using Tomcat but need to do more? Need to support web ser
Eh, I'm sorry, here are some more details:
"injected" means 'DataModelSelection'
my 'DataModelSelection' object code (the intersting part)
| @Scope(ScopeType.EVENT)
| @Name("role")
|
| @Table(name="ROLE")
| @Entity
| public class Role implements Serializable {
| private long r
Way too vague:
What does "injected" mean? @DataModelSelection? Something else?
What scope is myEjbBean? What scope is the object that backs the edit page?
etc...
Please show your actual code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954813#3954813
R
Hey,
I have a simple question regarding object editing,
I have a page containing a 'datatable' tag which fetches several objects via an
EJB3,
I want two simple actions: delete per row/ edit per row,
by adding tag per row:
| ''
|
as it seems, the object gets injected into the bean fine (
Hi, I'm using the latest Eclipse and JBossIDE versions but when I'm trying to
create a new Hibernate configuration file using the wizard, the following error
occurs:
anonymous wrote : Plug-in org.hibernate.eclipse.console was unable to load
class org.hibernate.eclipse.console.wizards.NewConfigur
Hi,
This looks the same as http://jira.jboss.com/jira/browse/JBAOP-255
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954809#3954809
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954809
Using Tomcat but need to do mo
Just add pagesize and pageNumber properties to your bean that executes the
search, bind them to inputTexts, and use setFirstResult()/setMaxResults() on
the Query interface.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954808#3954808
Reply to the post :
ht
http://staging.jboss.com/index.html?module=bb&op=viewtopic&t=68151
I tried replying to above link this yesterday and got an 'Error posting' and
did not try again. Now I see it was on a completely wrong server (JBoss
probably had some maintanance) Sorry diwaker for my response in the private
mai
What is the right way of doing pagination with Seam?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954806#3954806
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954806
Using Tomcat but need to do more? Need to support
Hi, I'm currently going through the main JBossIDE tutorial, and have completed
the XDoclet configuration
(http://docs.jboss.com/jbosside/tutorial/build/en/html/ejb.file.generation.html).
The problem is, no files have been created - apart from "xdoclet-build.xml".
The tutorial mentions, "a tutor
Hi (again),
Using plain JSP I can get the browser to use UTF-8 encoding using:
<%@ page contentType="text/html; charset=UTF-8" %>
Using xhtml however that does not work, so the browser uses ISO-8859-1
encoding. It is the HTTP header that is the problem, since both Firefox and
Mozilla ignores t
Hi,
I am developing a small Seam application using regular JavaBeans and Hibernate.
I succesfully used the "@Scope(CONVERSATION), using facelets and xhtml. For
another reason I converted the application to use old JSP, and now the
CONVERSATION doesn't work. I have a button that creates a @DataM
You have to replace the three egb3 jars under
JBoss_Home/server/default/deploy/ejb3.deployer with jboss-ejb3-all.jar that you
can find under jboss-seam-1.0.1.GA/lib. You might need to restart JBoss as well.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=395480
Newbie007,
We have to be, our time is precious and costly. We cannot start helping people
on such fundamental issues. If these things already pos a problem, I'm holding
my breath for what is comming up next.
Besides that. The list of what jBPM needs is *not* on the hibernate site. It is
bigge
1: Search BETTER:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70723 (just by using
the term webservice)
2: Yes it is. What is calling a webservice different then clling some java code
(besides transactions, reliability etc)
View the original post :
http://www.jboss.com/index.htm
This thread motivated me to go off and fix a bunch of related problems. I think
if you try out the CVS version of the DVD store, you'll be much happier with
how it handles backbuttoning ;-)
Thanks :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954797#3954
Seam runs on any Java EE 5 application server. The examples may not, currently,
though Roger Kitain has made them run on glassfish.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954796#3954796
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
For a couple of reasons, @Conversational has not turned out to work very well
in practice, so I've replaced it with a new mechanism which simply detects that
a page was rendered inside a long-running conversation and blocks and redirects
any actions originating from that rendered page if the con
Is that the whole stack trace?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954794#3954794
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954794
Using Tomcat but need to do more? Need to support web services, securit
Hi all. I have this scenario:
By starting from a page A where there are some portlets i must arrive to page B
where there are some other portlets between them there must be my one too that
shows some detail by recovering a request parameter.
Now the simplest thing to do is to start from the port
I have downloaded JBoss AS and JBoss Seam and extracted and configured JBoss
home in build.properties ,then did build successfully and started
server.Booking example was successfully deployed on JBoss
I could see booking home page also But when trying to register the user it is
giving the follow
This might help:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=59029
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954791#3954791
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954791
Using Tomcat but ne
Hello,
I just installed JBoss AS 4.0.4 GA (on my Win XP box with jdk1.5.0_04) from the
GUI Installer choosing the EJB3 configuration
After installation completed, the server starts successfully as shown below:
anonymous wrote :
| C:\Programs\jboss-4.0.4.GA\bin>run -c EJB3
|
=
look at dev forums for release plans
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954789#3954789
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954789
Using Tomcat but need to do more? Need to support web services, s
Hi everyone,
We are indeed very excited about the new release and eager to use great JBoss
tools in the new 3.2 eclipse!!
Looking at the JIRA roadmap, the JBoss IDE team has the following plans:
anonymous wrote :
| [Unreleased] 2.0.0.Alpha ( 30/Jun/06 )
|
| [Unrele
Hi All!
I posted this type of question before and was redirected to search the forum,
did that but couldn't find anything useful, if there is please guide me towards
that.
My question is How can we call a web service of .net or for that matter of any
other language from within a Action Handler
69 matches
Mail list logo