Diese Seite (Version-1) wurde zuletzt am 28-März-2017 14:37 von UnbekannterAutor geändert.

Du bist nicht autorisiert, diese Seite umzubenennen.

Du bist nicht autorisiert, diese Seite zu löschen.

Versionsgeschichte der Seite

Version Zuletzt geändert Größe Autor Änderungen Kommentar

Links

Eingehende Links Ausgehende Links

Versionsunterschiede

Unterschiede zwischen Version und .

Zeile 1: 117 Zeilen hinzugefügt.
[{ALLOW view All}]
[{ALLOW edit Authenticated}]
!New on 20.07.2011: [JBoss7]
!!Installation on Win7, 64bit
set JBOSS_HOME and PATH as [described|http://docs.jboss.org/jbossas/docs/Installation_And_Getting_Started_Guide/5/html/setting_JBOSS_HOME.html#setting_JBOSS_HOME_windows]\\
{{{
JBOSS_HOME=<jboss>
PATH=[...];<jboss>/bin
}}}
Start JBoss from a MS-Dos Box! When you double click the run.bat nothing happens.\\
Tip: To analyse the log you need to redirect output stream like this: run.bat > test001.txt
!Logging
[http://docs.jboss.org/process-guide/en/html/logging.html] |
[http://community.jboss.org/wiki/Logging]\\
Edit
{{{
..\jboss-6.0.0.Final\server\default\deploy\jboss-logging.xml
}}}
[here|http://www.mastertheboss.com/jboss-application-server/251-jboss-log4j-configuration.html]
!!Installation on Ubuntu 9.04 (jaunty) in Januar 2011
!Documentation
[http://www.jboss.org/jbossas/docs/6-x.html]\\
[http://docs.jboss.org/jbossas/6/Admin_Console_Guide/en-US/html/index.html]\\
[http://docs.jboss.org/jbossas/docs/Installation_And_Getting_Started_Guide/5/html/index.html]
!Installing Version jboss-6.0.0.Final
Updating JDK
{{{
dpkg -l '*jdk*'
apt-get remove openjdk-6-jdk
apt-get remove openjdk-6-jre-lib
apt-get remove openjdk-6-jre
apt-get autoremove
apt-cache search jdk
apt-get install default-jre
apt-get install default-jdk
java -version => java version "1.6.0_18"
}}}
Get it from [http://jboss.org/jbossas/downloads] and start/stop test
{{{
wget http://sourceforge.net/projects/jboss/files/JBoss/JBoss-6.0.0.Final/jboss-as-distribution-6.0.0.Final.zip/download
mv download jboss-as-distribution-6.0.0.Final.zip
unzip *
cd jboss-6.0.0.Final/bin
./run.sh -b 0.0.0.0&>test001.txt
http://www.ebel-computing.de:8080
./shutdown.sh -S
}}}
!Security, see [QuickTour|http://docs.jboss.org/jbossas/docs/Installation_And_Getting_Started_Guide/5/html/The_JBoss_Server___A_Quick_Tour.html#Basic_Configuration_Issues-Security_Service]
[JMX Console|http://www.ebel-computing.de:8080/jmx-console]
{{{
/markus/jboss6/jboss-6.0.0.Final/common/deploy/jmx-console.war/WEB-INF/jboss-web.xml
Uncomment: <security-domain>java:/jaas/jmx-console</security-domain>
/markus/jboss6/jboss-6.0.0.Final/common/deploy/jmx-console.war/WEB-INF/web.xml
Uncomment whole <security-constraint> block
/markus/jboss6/jboss-6.0.0.Final/server/default/conf/props/jmx-console-roles.properties
<username>=JBossAdmin,HttpInvoker
/markus/jboss6/jboss-6.0.0.Final/server/default/conf/props/jmx-console-users.properties
<username>=<pw>
}}}
[Administration Console (Web Console)|http://www.ebel-computing.de:8080/admin-console]\\
/markus/jboss6/jboss-6.0.0.Final/common/deploy/admin-console.war\\
/markus/jboss6/jboss-6.0.0.Final/server/default/conf/props/jbossws-users.properties
adjusted\\
Default Login: admin/admin
[JBoss Web Services Console|http://www.ebel-computing.de:8080/jbossws]\\
/markus/jboss6/jboss-6.0.0.Final/common/deploy/jbossws-console.war\\
jboss-web.xml + web.xml adjusted like in jmx
!JSPWiki 2.8.4
1. Unzip the JSPWiki.war into a folder called "JSPWiki.war"\\
2. Edit properties\\
3. Delete from WEB-INF/lib\\
* commons-logging-api.jar
* log4j.jar
* mail.jar
* activation.jar
* xmlrpc.jar
4. Copy it in the JBoss deploy folder (do not use a packed war file!)
!Struts 2
Use/Update following libs (as of 22.01.2011)
* commons-fileupload-1.2.1.jar
* commons-io-1.3.2.jar
* commons-logging-1.0.4.jar
* commons-logging-api-1.1.jar
* freemarker-2.3.16.jar
* jstl.jar
* log4j-1.2.15.jar
* mysql-connector-java-5.1.7-bin.jar
* ognl-3.0.jar
* sitemesh-2.4.2.jar
* standard.jar
* struts2-core-2.2.1.1.jar
* xwork-core-2.2.1.1.jar
There is still a bug in xwork-core-2.2.1.1.jar which puts following in the log
{{{
23:07:26,953 INFO [STDOUT] 23:07:26,949 WARN FileManager:60 - Could not create JarEntryRevision for [vfs:/D:/lang/WebAppServer/jboss-6.0.0.Final/server/default/deploy/EbelComputing.war/WEB-INF/lib/struts2-core-2.2.1.1]!
23:07:26,953 INFO [STDOUT] java.io.FileNotFoundException: vfs:\D:\lang\WebAppServer\jboss-6.0.0.Final\server\default\deploy\EbelComputing.war\WEB-INF\lib\struts2-core-2.2.1.1 (Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch)
}}}
Obviously there happens only a version check, which is not necessary in the end. This does not hurt the application.