[JBossWS] - Jboss 4.2.0 and SQL Server
by sashaxiv
i am running a ejb3 aplication on jboss 4.2.0. It worked fine, but i've added
new entities unreleated with the old ones and it raises next exception.
Can anyone help me?
11:58:35,632 WARN [JDBCExceptionReporter] SQL Error: 208, SQLState: 42S02
11:58:35,632 ERROR [JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]El nombre de objeto 'usuario_concesion' no es válido.
11:58:35,632 WARN [JDBCExceptionReporter] SQL Error: 16945, SQLState: HY000
11:58:35,632 ERROR [JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]El cursor no ha sido declarado.
12:01:41,798 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id -3f57df8d:759:4682264b:cf invoked while multiple threads active within it.
12:01:41,798 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action -3f57df8d:759:4682264b:cf aborting with 1 threads active!
12:45:44,181 ERROR [LazyInitializationException] failed to lazily initialize a collection of role: com.satdatatelecom.satdataweb.model.usuario.ejb.UsuarioEJB.concesiones, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.satdatatelecom.satdataweb.model.usuario.ejb.UsuarioEJB.concesiones, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343)
at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
at org.hibernate.collection.PersistentBag.toString(PersistentBag.java:483)
at com.satdatatelecom.satdataweb.model.usuariofachada.ejb.actions.finders.FindUsuarioAction.execute(FindUsuarioAction.java:31)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058075#4058075
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058075
17 years, 6 months
[JBossWS] - Re: MTOM + WS Security = problem
by richard_opalka
"mr_d" wrote :
| I agree, but if mtom is used and it is inlined, I don't see the point of using mtom: we can have the binary parameter inlined like the others. I thought that one of the advantages of mtom was to use xop which describes how to package binary data as an attachment.
@mr_d
Well MTOM can be inlined or not. If you're dealing with small attachments,
such as < 5k images or other binary data I don't see the problem if the
MTOM attachments are inlined. If you're dealing with bigger attachments
then I agree inlined MTOM attachmetns are not good for you. But it
depends on the SOAP stack how it will deal with MTOM attachments.
For example, some SOAP stacks are configured the following way:
* if attachment size is lesser than some preconfigured size then MTOM attachment is inlined
* if attachment size is greater than some preconfigured size then MTOM attachment is sent as MIME part.
Isn't this your problem?
Rio
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058006#4058006
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058006
17 years, 6 months
[JBossWS] - Re: MTOM + WS Security = problem
by mr_d
Hello!
Thanks for your answers,
"richard_opalka" wrote : MTOM attachments do not need to be inlined.
I agree, but if mtom is used and it is inlined, I don't see the point of using mtom: we can have the binary parameter inlined like the others. I thought that one of the advantages of mtom was to use xop which describes how to package binary data as an attachment.
@davideling
I have exactly the same config as you, same Jboss version and JbossWS version. I have also a method with a bean which contains a DataHandler (annoted). But no luck, I get always the same exception.
javax.xml.ws.soap.SOAPFaultException: Endpoint {http://foo.org/mtom}ServiceImpl does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData
But this problem doesn't change the main problem: to use mtom + ws security with jbossws. I will take a look to the sources when I got time.
:oD.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058001#4058001
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058001
17 years, 6 months