[JBoss Tools] - JBosstoolsVisualEditorFAQ
by Yahor Radtsevich
Yahor Radtsevich [http://community.jboss.org/people/yradtsevich] modified the document:
"JBosstoolsVisualEditorFAQ"
To view the document, visit: http://community.jboss.org/docs/DOC-10862
--------------------------------------------------------------
*Q : Which platforms are supported by* *Visual Editor?*
*A* : The list of supported platforms (and their IDs):
* Windows x86 (32-bit) (win32.win32.x86)
* Linux x86 (gtk.linux.x86)
* Linux x86-64 (gtk.linux.x86_64)
* Mac OS X Carbon (carbon.macosx)
* Mac OS X Cocoa (cocoa.macosx)
*Q : Visual Editor does not start under Linux*
*A* : Linux users may need to do the following to get the visual editor to work correctly on their machines.
* The Visual Page Editor (before JBoss Tools 3.1.0.M4) requires the library libstdc++.so.5. This library is contained in the compat-libstdc++-33.i386 package.
** To install this package on Fedora Core or Red Hat Enterprise Linux run the following command:
** On any other rpm based distributions download libstdc++.so.5 and run the following command:
** On Debian and Debian based distributions (e.g. Ubuntu) run the following command:
* In case you have the library installed and you still have issue with starting the visual page editor then close all browser views/editors and leave one visual page editor open and restart eclipse. This should force a load of the right XULRunner viewer.
*Q: Visual Editor doesn't start at any platform and shows message* 'The VPE editor can't be run because your system environment needs to be changed slightly'
* Check if you version of JBoss Developer Studio/JBoss Tools is compatible with you version of Eclipse, see the compatibility matrix http://community.jboss.org/docs/DOC-14297 http://www.jboss.org/community/wiki/Matrixofsupportedplatformsruntimesand...
*Q : Visual Editor starts OK, but the following message dialog appears:*
http://community.jboss.org/servlet/JiveServlet/showImage/102-10862-34-195... http://community.jboss.org/servlet/JiveServlet/downloadImage/102-10862-34...
*A* : Some functionality of Visual Editor may not work if a project doesn't have org.jboss.tools.jsf.jsfnature or org.jboss.tools.jst.web.kb.kbnature in .project configuration. To fix this problem and turn off the message box execute next steps:
* Right mouse button click on a project in Package Explorer.
* Select +Configure -> Add JSF Capabilities+ from the context menu.
* Configure your project using +Add JSF Capabilities+ wizard and press Finish.
*P. S.* If you are shure that your project does not need JSF capabilities, just disable this message box by checking "+Do not show this dialog again!+" checkbox.
*Q : Visual Part doesn't start and "XPCOM error -2147467259" is shown*
*A :* Something bad happened with buildin xulrunner. To check it you should:
* Go to Eclipse -> Help -> About -> Installation Details... -> Configuration
* find +org.eclipse.swt.browser.XULRunnerPath+ and open this path in terminal
* try xulrunner.exe -version or ./xulrunner -version and it should show what is needed for XR to work
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-10862]
Create a new document in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
15 years, 5 months
[JBoss Web Services] - Generated WSDL differs between WS Stacks. Bug?
by Kurt Stam
Kurt Stam [http://community.jboss.org/people/kurt.stam%40jboss.com] created the discussion
"Generated WSDL differs between WS Stacks. Bug?"
To view the discussion, visit: http://community.jboss.org/message/571678#571678
--------------------------------------------------------------
Hi guys,
On the Apache jUDDI project we deploy WebServices using the WebService annotation on both the interface as well as on the service implementation. For example:
> In the jUDDI project we generated our WebServices Java classes from the WSDL using the CXF tooling. For the SecuroityService it created annotations on the interface of:
>
> @WebService(name = "UDDI_Security_PortType", targetNamespace = "urn:uddi-org:v3_service")
> public interface UDDISecurityPortType
>
> and on the implementation class:
>
> @WebService(serviceName="UDDISecurityService",
> endpointInterface="org.uddi.v3_service.UDDISecurityPortType",
> targetNamespace = "urn:uddi-org:v3_service")
> public class UDDISecurityImpl extends AuthenticatedService implements UDDISecurityPortType
Now if this is deployed to Tomcat + CXF the generated WSDL says:
> <wsdl:service name="UDDI_Security_Port">
> <wsdl:port binding="tns:UDDI_Security_PortSoapBinding" name="UDDISecurityServicePort">
> <soap:address location= http://localhost:8080/juddiv3/services/security "http://localhost:8080/juddiv3/services/security"/>
> </wsdl:port>
> </wsdl:service>
While when deployed to JBossAS-5.1 (with JBossWS + CXF) the WSDL says:
> <wsdl:service name="UDDISecurityService">
> <wsdl:port binding="tns:UDDISecurityServiceSoapBinding" name="UDDISecurityImplPort">
> <soap:address location= http://127.0.0.1:8080/juddiv3/services/security "http://127.0.0.1:8080/juddiv3/services/security"/>
> </wsdl:port>
> </wsdl:service>
So clearly the annotations are used in different ways by the two WS stacks (even if the CXF implementation is used in both cases).
Question:
Are the differences due to a bug, or is the spec unclear as to what to do with the Annotation MetaData? If it is a bug, which WS Stack does the right thing?
Thx,
--Kurt
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/571678#571678]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 5 months
[IronJacamar] - Re: Throwable while attempting to get a new connection: nul
by Vlad T
Vlad T [http://community.jboss.org/people/b3lowster] created the discussion
"Re: Throwable while attempting to get a new connection: nul"
To view the discussion, visit: http://community.jboss.org/message/571788#571788
--------------------------------------------------------------
Good day
I have a similar problem. This is text of exception:
> 2010-11-18 15:11:25,157 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
> org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLRecoverableException: Io exception: Connection reset)
> at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
> at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
> at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262)
> at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500)
> at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
> at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
> at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
> at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
> at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
> at ua.kyivstar.kiosk.service.dbutils.DBFactory.getPoolConnection(DBFactory.java:97)
> at ua.kyivstar.kiosk.service.dbutils.DBFactory.getConnection(DBFactory.java:65)
> at ua.kyivstar.kiosk.service.dbutils.DBFacet.<init>(DBFacet.java:17)
> at ua.kyivstar.kiosk.service.handler.CreateRequestToConnectHIHandler.handleRequest(CreateRequestToConnectHIHandler.java:31)
> at ua.kyivstar.kiosk.service.LCServer.processRequest(LCServer.java:48)
> at ua.kyivstar.kiosk.InterfaceKiosk.doGet(InterfaceKiosk.java:68)
> at ua.kyivstar.kiosk.InterfaceKiosk.doPost(InterfaceKiosk.java:34)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.sql.SQLRecoverableException: Io exception: Connection reset
> at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101)
> at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
> at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
> at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
> at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:521)
> at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:418)
> at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
> at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
> at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
> at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
> at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171)
> ... 35 more
> Caused by: java.net.SocketException: Connection reset
> at java.net.SocketInputStream.read(SocketInputStream.java:168)
> at oracle.net.ns.Packet.receive(Packet.java:240)
> at oracle.net.ns.NSProtocol.connect(NSProtocol.java:259)
> at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
> at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
> ... 40 more
*Is a problem at the database server/driver level?*
In folder lib I have a ojdbc6.jar
MANIFEST.MF:
Manifest-Version: 1.0
Implementation-Vendor: Oracle Corporation
Implementation-Title: ojdbc6.jar
Implementation-Version: Oracle JDBC Driver version - "11.1.0.7.0-Produ
ction"
Implementation-Time: Thu Aug 28 17:39:02 2008
Specification-Vendor: Oracle Corporation
Sealed: true
Created-By: 1.6.0 (Sun Microsystems Inc.)
Specification-Title: Oracle JDBC driver classes for use with JDK6
Specification-Version: Oracle JDBC Driver version - "11.1.0.7.0-Produc
tion"
Main-Class: oracle.jdbc.OracleDriver
Name: oracle/sql/converter_xcharset/
Sealed: false
Name: oracle/sql/
Sealed: false
Name: oracle/sql/converter/
Sealed: false
*Thanks*
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/571788#571788]
Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 5 months