如何在windows 7 32位中启动和停止Jboss命令提示符
当我尝试从命令提示符运行run.bat文件时,我会得到以下错误
D:\jboss-6.1.0.Final\bin>run.bat
Calling D:\jboss-6.1.0.Final\bin\run.conf.bat
Could not locate "D:\jboss-6.1.0.Final\bin\bin\run.jar".
Please check that you are in the bin directory when running this script.
Press any key t
我有一个带有一些web工件(.war)的项目,我面临着注入简单POJO的问题。以下代码表示最简单的工作情况:
.war (WAR1)
public class MyManagedBean {
@Inject
private MyPojo myPojo;
}
POJO in .war (WAR1)
public class MyPojo {
public void doSomething() {}
}
当我使用相同的POJO (.war -> WAR2)打包后再添加一个web工件(MyPojo->WAR2),问题就会发生。在语义上,我希望我的POJO在每
我对基于JBossServer6.1的web应用程序有问题。当我尝试在服务器上部署它时,它会引发一个错误:
Deployment "vfs:///E:/Instalki/jboss/jboss-as-distribution-6.1.0.Final/jboss-6.1.0.Final/server/default/deploy/WholesaleApp.war" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: Only one JAX-RS Appl
我们有同一个web应用程序的两个独立实例。一个是沙箱,另一个是活动环境。两者都访问subversion,所以我们将svnClientAdapter设置为使用subversion。在应用程序启动时,我们调用JhlClientAdapterFactory.setup();
当第二个实例启动时,我得到错误消息:
Failed to load JavaHL Library.
These are the errors that were encountered:
Native Library C:\jboss-6.1.0.Final\bin\native\msvcr100.dll already loa
我有一个简单的EJB类。当我尝试注入EntityManager实例时,我得到一个NullPointerException
Caused by: java.lang.NullPointerException
at pl.take.server.model.WholesaleEJB.createClient(WholesaleEJB.java:54) [:]
问题是我做错了什么,我如何才能纠正它?我使用的是netbeans和jboss 6.1。谢谢您抽时间见我。
@Stateless
public class WholesaleEJB {
@PersistenceContext(unit
我在jboss 6.1上有一个Seam3的应用程序。我的bean主要是会话作用域的bean(有状态会话bean)。有时,当我在一个由会话作用域bean处理的页面上时,我离开该页面一段时间(比如几分钟),然后单击一个操作链接,我会得到以下错误:
11:59:02,313 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] /user/search.xhtml @30,100 value="#{userBean.lazyModel}": javax.ejb.EJBException: Could not ac
人民!
我正在尝试将maven依赖于我的项目升级,从primefaces-3.3升级到4.0。
我使用jboss-6.1.0.Final作为服务器。
服务器启动时没有出错,并显示了我的web应用程序的第一页,但是当我尝试登录时,控制台中会显示以下错误:
java.lang.ClassCastException: com.sun.faces.facelets.compiler.UIInstructions cannot be cast to org.primefaces.model.menu.MenuElement
at org.primefaces.component.tieredmenu.T
我有一个用ejb2和struts开发的旧应用程序,必须将其部署到jboss 6.1实例。如果我将应用程序部署到单个节点上,它就可以正常工作。但是如果我试图在集群环境中部署相同的应用程序,我会得到一个错误:
ERROR [org.apache.catalina.connector.CoyoteAdapter] (http-10.101.215.38-8443-4) An exception or error occurred in the container during the request processing: java.lang.RuntimeException: Caught Tim
当我从\jboss-6.1.0.Final\bin执行run.bat时,我得到以下错误
Calling D:\jboss-6.1.0.Final\bin\run.conf.bat
Could not locate "D:\jboss-6.1.0.Final\bin\bin\run.jar".
Please check that you are in the bin directory when running this script.
Press any key to continue . . .
在尝试使用jboss.fuse.bom作为依赖项时,我遇到了以下maven构建问题。
Non-resolvable import POM: Could not find artifact org.jboss.fuse.bom:jboss-fuse-parent:pom:6.1.0.redhat-399 in central (https://repo.maven.apache.org/maven2)
The dependacy
pom.xml中的依赖项
<dependency>
<groupId>org.jboss.fuse.bom</groupI