I'm still interested in pointers.
Another thing that emerged is the fact that I have some native queries that (of
course) doesn't have their tables autogenerated. Is there a place to stick
creation scripts so that the Seam DB tests would pick them up?
thanks in advance,
Nik
PS. Tried
I'm trying a similar setup with a Seam WAR.
I have a prod persistence.xml which defines a java:/ProdDatasource. In the same
dir I have a persistence.xml with
| hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
| hibernate.hbm2ddl.auto=validate
|
and then in my test project I
Using the latest tools, create a new Seam Web Project (WAR), leaving libraries
at default, deploying to a AS 4.2.2.GA I get a
14:49:37,033 ERROR [[/OSTi3]] Exception sending context initialized event to
listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.LinkageError:
I tried using virtual hosts and it seems to be working when used from the
internal network but the above mentioned error still occurs when coming from an
external network.
Network configurations aside, how can this error anyways be related to where
the request is originating from?
View the
It turns out that telnetting to the DNS name port 80 and doing a GET /
returns the page just fine.
Is it some conspiracy amongst all browsers to consider a response as bad if it
comes from a hostname it didn't expect? And if so, what is the remedy? Some
alias or virtual host in JBoss?
Thanks
More specifically, dumping the reponse headers gives
| null:
|HTTP/1.1 400 No Host matches server name thehost.thedomain.com
| Transfer-Encoding:
|chunked
| Date:
|Mon, 01 Dec 2008 12:11:43 GMT
| Connection:
|close
| Server:
|Apache-Coyote/1.1
|
ping
I have a 4.2.2.GA running with -b 0.0.0.0 and no virtual hosts.
http://localhost (locally) works
http://hostname (locally) works
http://ip (locally) works
http://ip (remotely) works
http://hostname (remotely) works
but
http://DNS entry that resolves to hostname/ip
fails with a blank page or
Could someone slap me with a manual reference to a problem of mine:
Our customer has a https-terminating publicly known firewall-host that
redirects requests as plain http to my server. So when people go to
https://public.host.com, they get redirected to http://private.host.com on the
inside.
erasmomarciano wrote : Have a look here
|
| http://docs.jboss.org/jbossas/guides/webguide/r2/en/html/ch07.html
|
|
Initial tests of the virtual host looks promising but is it possible to do the
http - https transformation on the HTML links etc with them?
View the original post :
PeterJ wrote : Yes, if you do -b hostname then you will not have access
from localhost.
|
| And you still did not post the line I asked for. Without that, I cannot
help you.
Ah, sorry, didn't get any reply notification mail. I'll check the line once I
get back to the office.
View the
I've tried just a -b hostname on one of our local servers (Linux) and end up
with the same thing - no go from localhost.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4159786#4159786
Reply to the post :
Not the usual I can only access the connector from localhost. My problem is
I can't access the connector from localhost.
I started it with -b 0.0.0.0 -Djboss.bind.address=192.168.20.34 and it works
fine, but I can't access it from localhost or the jboss.bind.address. I thought
0.0.0.0 would
I'm not sure how eclipse and server adapters work and it can be worked around
by creating a normal JBoss server against the same runtime and profile that
one.
But it probably is something with eclipse asking the server adapter do you
support this tptp-thing? and the answer is no, so the button
2.0.1.GA
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4145134#4145134
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4145134
___
jboss-user mailing list
jboss-user@lists.jboss.org
here you go
http://jira.jboss.com/jira/browse/JBIDE-2093
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4145143#4145143
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4145143
___
Hi,
Is there any special magic in getting profiling to work in JBoss Tools? I'm
using the latest beta and I get a disabled start in profiler mode on my
servers, even if TPTP is installed? Or do you have to use JBoss's own profiler?
View the original post :
And could be more of a general Eclipse/TPTP issue but when I try to profile on
a normal JBoss server, I get
Could not find agent library on the library path or in the local directory:
JPIBootLoader
I was under the impression that local profiling used the local agent that comes
with TPTP
I had a WS that used the Standard WSSecurity Endpoint and everything worked
fine.
Then I needed to add a handler so I grabbed the code to the said endpoint from
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_Endpoint_Configuration
and added my own handler there.
But I couldn't get it
Hi,
Noob question: I have a WAR that serves both as a provider and consumer of a
secure web service. In the client section I try to do a
((StubExt)port).setSecurityConfig(new
File(WEB-INF/jboss-wsse-client.xml).toURL().toExternalForm());
but end up with a FileNotFound for
|
Hi,
I made a simple stateless EJB, annotated the class with @WebService and the web
with @WebMethod, it deployed fine and showed up in /jbossws/services.
So I removed the EJB:ness from it and retried, but this time the WS doesn't get
deployed. I got the impression from the JBoss WS wiki that
Excellent! So it should work just like a EJB with the different packaging/conf?
BTW. I looked quickly at the web.xml and it looks sort of like a servlet
mapping, should it still be visible under jbossws/services or is it just
standalone?
View the original post :
if your selectItems work on a list of entities and your selectbox value is
pointing at an entity you need the s:convertEntity tag, check the manual for
futher details.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128613#4128613
Reply to the post :
I haven't heard anything specific regarding outjection, what is your source as
it being dead (and the motivation for it)?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128616#4128616
Reply to the post :
And are you using a nested s:convertEntity?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128638#4128638
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128638
___
jboss-user
I would consider starting a fresh project using the Eclipse JBoss Tools plugins
and copypaste the code into that...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128714#4128714
Reply to the post :
Give it a try on a plain list of entities, now the converter is trying to
convert the string to an entity id...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128693#4128693
Reply to the post :
And you are now working on lists of entities without converting them to Strings?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128669#4128669
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128669
Try Eclipse + JBoss Tools, they have wizards for creating sample projects
(including EARs)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128724#4128724
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128724
State(less/ful) EJBs must be packaged in EARs
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128171#4128171
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128171
___
jboss-user
The entities have JPA annotations that describe the mapping between objects and
database tables and hibernates serves as the underlying implementation. The
annotations are scanned automagically
There are plenty of JPA beginner tutorials around.
View the original post :
How does your persistence.xml and datasource xml look like?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128172#4128172
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128172
___
Inglês, por favor. O português não é falado aqui.
(courtesy of babelfish)...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128192#4128192
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128192
Use eclipse + jboss tools to generate a sample project and move on from there.
You shouldn't have to do anything extra, I think the classes just have to be
found by the same classloader that picks up your persistence.xml(?)
View the original post :
Not a direct answer to the question but you could put an archive-mailbox on
your bcc list...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128105#4128105
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128105
Just a small feture inquiry:
would it be out of context for the framework to have an s:prefocus tag that
would be used like
| h:inputText value=...
| s:prefocus/
| /h:inputText
|
That would insert at the end of a page a
| scriptdocument.getElementById('...').focus()/script
|
http://jira.jboss.com/jira/browse/JBSEAM-2611 created.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128115#4128115
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128115
___
Well, if you write this imap-view against your mailbox... ;-)
Does it have to be an exact snapshot through the template? Otherwise you could
just store away the information in the template...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128113#4128113
Reply
| if (x == null) {
| initX();
| }
|
;-)
If think that if someMethod is called before x has been referenced, it can be
null.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4127818#4127818
Reply to the post :
What size do you think Rod Johnson is? ;-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4127971#4127971
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127971
___
jboss-user
immediate=true on the button?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4127973#4127973
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127973
___
jboss-user mailing list
Looking at the source of DocumentData there appears to be an static public
class DocumentType that has a (String extension, String mimeType) constructor...
But one would think there should be a constant PDF shortcut somewhere...
View the original post :
Hi,
I have most reuseable database queries isolated to a DAOish class and would
like to add some logging and exception handling like
| Object result = null;
| try {
| result = context.proceed();
| // log called methods, parameters and result
| } catch (PersistenceException e)
UIDocument.PDF?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4127807#4127807
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127807
___
jboss-user mailing list
Hi,
How are the tld:s related to the code completion in tags (in the seam module)?
If I e.g. look at the completion for s:selectItems, I see no itemLabel or
itemValue even if they are in s.tld. Or I get completion for a
hideNoSelection but s.tld calls it hideNoSelectionLabel etc...
View the
[EMAIL PROTECTED] wrote : Dan is correct. However 2.0.1 allows you two
options to customize the value. If you don't use the entity converter, use the
itemValue attribute on s:selectItems. If you do, you need to implement a custom
entity loading strategy. I'll blog about that soon.
What do you
The strange this is that equals() and hashCode() are not being accessed at all.
Neither is the setter of the value. It just makes up that the value is null
although the selectbox option value and label are correct...
View the original post :
Thanks, that did it!
I was under the impression that I had to use the entityConverter since the
backing data weren't SelectItems, but it seems that the entityConverter (and
the SMPC to avoid LIE:s) are only required when actually inserting an entity?
That pretty much moves my SelectItem usage
In JBoss AS it's in .\server\default\conf\jboss-log4j.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126894#4126894
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126894
___
According to Gavin in the Javadoc of org.jboss.seam.intercept.InvocationContext
we should:
A copy of the EE5 standard InvocationContext API. We do this because some poor
souls are still using J2EE. Pray for them.
;-)
View the original post :
I think you might find section 5.1.1.1. Page parameters in the reference
manual interesting.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126983#4126983
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126983
And the error you see is...?
You seem to be calling #{insert.insert}. Which means that the method insert
in the seam named component insert is being called. You shouldn't have any
parameters in the method. Remove them from the local interface and then inject
the beans (info?) into the insert
Could you start a thread that would execute every 10 seconds until you notice
that Seam has been initialized? Then it would do its magic and exit. I'm sure
there is some static boolean isInitialized() somewhere if you dig through the
api. Or just try to access some well known component.
View
POJO quick and dirty style:
Let's say you have an entity
| @Entity
| public class User {
| @Id @GeneratedValue
| private long id;
| private String name;
|
| public long getId() {
| return id;
| }
|
| public void setId(long id) {
Actually, the reason I was browsing the javadocs is that I'm writing a
logger/exception interceptor and was looking for a way to find out what the
method returned but didn't find anyhing obvious in InvocationContext etc.
I got the idea that Seams concept of AroundInvoke is pretty much
Is there a specific case what Acegi can do and Drools rules can't?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4127260#4127260
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127260
One wouldn't there should be that many of them. Can you see them if you try a
fresh seam-gen project and add security to it?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126504#4126504
Reply to the post :
Well, if you judge the quality of an expert group based on bloggings between
drafts and other official documentation, the majority of the specs currently in
the JCP are dead.
Every hour spent blogging is an hour away from specsing/writing the RI ;-)
View the original post :
You will have to add the path to all references of the page also. So if you
have an
| ui:include src=foo.xhtml/
|
it should become
| ui:include src=/thefolder/foo.xhtml/
|
Same goes everywhere the page is referenced - templates, navigation etc.
View the original post :
ae wrote : So it is already fixed in 2.0.2GA? That was amazingly fast!
Even better - since it is marked as Fixed it probably means that it is
committed into the current trunk and you can get it NOW! ;-)
View the original post :
Something like
| HttpServletRequest r = (HttpServletRequest)
FacesContext.getCurrentInstance().getExternalContext().getRequest();
| log(r.getRemoteHost());
|
? You should also be able to look at the request headers etc. from there.
View the original post :
Strange enough for a JIRA or am I missing something with the usage?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125886#4125886
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125886
So the DataModelSelection isn't firing (or lagging one)... Does it work with a
normal h:commandButton or link? I don't have much a4j experience so can't say
what is supposed to be populated when...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125914#4125914
Then make in non-required. Depending on the scope and how/where the bean is
referenced, it might be created even when there was no error...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126005#4126005
Reply to the post :
I think the not-being-called it's a JSF-issue, check the sun forums, I have a
feeling it comes up frequently there. You could do the conversion later (in
getter/setter, or as a custom hibernate field (if that is an option)
View the original post :
I'm on 2.0.1CR1 inside i valuechangelistener and doing
| getFacesMessages().addToControl(event.getComponent().getId(), new
FacesMessage(!));
|
and it shows up on my s:decorated component but
|
getFacesMessages().addToControlFromResourceBundle(event.getComponent().getId(),
my.key);
Just noticed that it even shows up in the console (correctly resolved) but
doesn't appear on the component...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125456#4125456
Reply to the post :
Meaning that you should be able to forward to a page that uses a bean that
injects the exception and then generates a String from the stacktrace.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125517#4125517
Reply to the post :
The exception should be available in org.jboss.seam.handledException, you
should be able to get the full stack trace from there.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125515#4125515
Reply to the post :
Haven't used it but Logger seams to have some static methods that might be
interesting.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125689#4125689
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125689
If the problem persists after cleaning/reploying/restarting, check for naming
conflicts. Do you have both a @Name(productRecomForm) and a
var=productRecomForm somewhere?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125008#4125008
Reply to the post :
From the department of long-shorts:
have the function return a resource-URL like http://context/resource?id=; +
resource
and that servlet would fetch the resource from DB and spit it out.
As I said, there are probably much more elegant ways of doing this...
View the original post :
but debug output in the list getter shows 0?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125061#4125061
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125061
___
jboss-user
Hmmm. Not sure about the statefull/lessness and scope of the EntityQuery, have
to check.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125062#4125062
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125062
What happens if you scope it to session just for test?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125081#4125081
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125081
___
It must be so, someone said it in a TSS comment! ;-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125104#4125104
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125104
___
[EMAIL PROTECTED] wrote : Sorry, the design is mainly in Gavin's head. Your
best bet is to look at the source code.
Any specific starting points in the code you could mention?
BTW, does Seam have any number two guy in case Gavin wakes up one day and
finds that he has grown tired of the
[EMAIL PROTECTED] wrote :
| I am new to Seam .and I am suing richfaces
|
Don't sue them, they are trying their best! ;-)
What happens at
Caused by: java.lang.NullPointerException
at com.coorserpark.backing.CargoActionBean.editCargo(CargoActionBean.java:59)
View the original post :
Well, something like that is suggested in section 8.4 of the manual.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125382#4125382
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125382
I think it should be possible to write a page action that does a conditional
logout if you enter the page while still logged in.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124682#4124682
Reply to the post :
Is it possible to do some redirection back to the login page after you have
forced the logout?
If nothing else fails you can always do the switch identity function with a
common identity.logout and the next secured request will do the automatic
redirection to the login page.
View the original
If the exception happens in a wrong-enough-place there is always the final
frontier, the error-page tag in web.xml...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124713#4124713
Reply to the post :
If I understand you correctly you are looking for some sort of dynamic actions.
I'm not sure it can be done with that sort of double-EL-resolve.
You can always use multiple links with rendered-conditions like
| s:link action={actions.add} rendered=#{action='add'}Add/s:link
| s:link
[EMAIL PROTECTED] wrote : nickarls - good idea. Fancy writing one? :)
Sure, I'll have some spare time as soon as the kids move out in 2023 or so ;-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124543#4124543
Reply to the post :
http://www.jboss.com
Well, most info can already be found in
http://docs.jboss.org/tools/2.0.0.GA/seam/en/html_single/index.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124593#4124593
Reply to the post :
Well, they didn't move out yet but at least they went to sleep ;-)
http://web.abo.fi/~nickarls/JBossToolsQuickStart.pdf
(so far mosttly screenshots covering the install deploy of the skeleton
project in WAR format)
View the original post :
http://www.jboss.com/index.html?module=bbop
As already pointed out in the sun forums, I don't think the converter is
supposed to work in that setting.
I had a similar issue when working with a legacy database and ended up writing
a custom type for the database field so that it would be converted there...
View the original post :
jsimone wrote :
| seam-gen or the docs are incorrect.
|
Well, web.xml has a list of welcome files which are looked for when a web
context is hit without a specific page. It finds index.html which immediately
redirects to home.seam (I understand that this mechanism is being improved on
in
Well, if you are juggling entities you might as well use a List and bind to the
entityHome.entity and use a convertEntity (remembering to override hashcode()
and equals() on the entity id). There are plenty of threads on this.
View the original post :
What version of Seam are you running? Are there any errors in the log from not
being able to create the persitence units? In 2.0 the link should be something
like
a deployed Foo-ds.xml with a
| jndi-nameFooDatasource/jndi-name
|
a persistence.xml with
|
Hmmm, if you have a list of entities, why don't you just bind the selected one
to the home.instance?
the dropdown with entityconverter + smpc is a handy way of taking a list of
entities and having the selected entity inserted into another component.
Instead of having to write object -
Well, if you bind the entity to studenthome.instance then the id should also be
automagically populated, no?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123998#4123998
Reply to the post :
Well, if it follows the ideaology of Seam (as I have understood it does), there
is nothing stopping you from writing service locators returning abstract
facade-factories etc...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124014#4124014
Reply to the post :
http://docs.jboss.com/seam/latest/reference/en/html_single/
The rest is left as an exercise for the reader ;-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124028#4124028
Reply to the post :
If it has JDBC drivers, yes. Just pick any database, you can edit the
persistence.xml later.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124180#4124180
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124180
Well, if its not auto-create it will be null the first time referenced. Add a
create=true to the @In annotation.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124253#4124253
Reply to the post :
The JBoss Tools plugins seem to create a more slim skeleton.
In fact, the JBoss Tools is so noob-friendly that I think there ought to be a
section Getting started with Seam, using JBoss Tools section in then manual
since clicking through to a workable example is much more simple than the
Anything in the deploy logs? Tried cleaning the project?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124256#4124256
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124256
___
Never used pojoCache myself but the manual mentions treecache.xml. Do you have
one (or is there a default included in the jars)?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124272#4124272
Reply to the post :
Does the corresponding h:selectItems work?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124273#4124273
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124273
___
jboss-user
Post all stacktrace you can find, you can (almost) never have too much. Is
there anything about properties resolving to null in it?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123898#4123898
Reply to the post :
1 - 100 of 403 matches
Mail list logo