Netbeans: JBoss installation
Hello world,
is there someone that explain me in few words how i can install JBoss in Netbeans?
I've read this item http://www.netbeans.org/kb/50/jboss-getting-started.html#installthesoftware
but I haven't understood nothing.
Help me please.
Ok, I don't know how to install JBoss Application Server in Netbeans, but i know how to setup.
1) Tool > Server Manager
2) Add Server
3) Server: JBoss Application Server 4
4) Installation location: C:\jboss-4.0.4.GA
5) Then you should able to select the server instance, port, etc.
I have tested in Netbeans 5.5 Beta 2, JBoss Application Server 4.0.4.GA.
Check version of your Netbeans, JBoss App Server.
Similar Messages
-
Java ME SDK 8.0 EA Netbeans plugin installation problem
We have been getting reports that some developer had trouble installing the Java ME SDK 8 EA plugins into NetBeans. We are working on fixing the issue, in the meantime please try the workaround posted in the Java ME SDK forum:
Java ME SDK 8.0 EA Netbeans plugin installation problem
Also be sure to check the latest ME SDK 8 EA Release Notes for late-braking information:
http://docs.oracle.com/javame/dev-tools/jme-sdk-8/release-notes/html/Release_Notes/Release_Notes.html
Sorry for the inconvenience.
Best,
-- TerrenceHi,
For the Raspberry Pi, tooling over serial port is not supported. The simplest solution is to use standard IP networking over Ethernet. This can be a direct connection between the PC and the Raspberry Pi, as long as the cable is twisted and the IP addressing is correct (e.g. manual IP addressing or DHCP server on the PC).
Regarding "Connecting to a UART Device": This is meant for attaching and controlling serial devices from the Raspberry Pi, not for tooling connections between the Raspberry Pi and the PC.
Hope this helps,
-- Terrence -
Simple Netbean JBoss Webservice Error
Hi all,
I am deploying a simple Hello Web service to
jboss-4.0.4-GA server with bundled in the Netbean 5.5 IDE.
Deployment of webservice in the JBoss is ok , when i do
http://localhost:8080/HelloWebService/HelloWS?wsdl , i can see the
wsdl format.
And when accessing the webservice using Web Service Client in
Netbean , i can access the web service method without any error.
My problem is the when i tried to access the web service in normal
java class for example below:
Anyone have any ideas or suggestion , please email it to me , thanx
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.rpc.Call;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceFactory;
public class TestWebService {
/** Creates a new instance of TestWebService */
public static void main(String [] args){
try{
String wsdlURL = "http://cxrus020:8080/HelloWebService/
HelloWS?wsdl";
String namespace = "urn:HelloWS/wsdl";
String serviceName = "HelloWS";
QName serviceQN = new QName(namespace, serviceName);
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service service = serviceFactory.createService(new
URL(wsdlURL), serviceQN);
QName portQname = new QName(namespace, "HelloWSSEIPort");
Call call = service.createCall(portQname);
call.setPortTypeName(portQname);
call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "");
QName requestQname = new QName(namespace, "greet");
call.addParameter("String_1", requestQname,
javax.xml.rpc.ParameterMode.IN);
call.setReturnType(requestQname);
String ret = (String) call.invoke(new Object[]{"joshua
tat"});
System.out.println("ret:" + ret);
}catch(Exception ex){
ex.printStackTrace();
The wsdl file:
- <definitions name="HelloWS" targetNamespace="urn:HelloWS/wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:HelloWS/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<types />
- <message name="HelloWSSEI_greet">
<part name="String_1" type="xsd:string" />
</message>
- <message name="HelloWSSEI_greetResponse">
<part name="result" type="xsd:string" />
</message>
- <portType name="HelloWSSEI">
- <operation name="greet" parameterOrder="String_1">
<input message="tns:HelloWSSEI_greet" />
<output message="tns:HelloWSSEI_greetResponse" />
</operation>
</portType>
- <binding name="HelloWSSEIBinding" type="tns:HelloWSSEI">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="greet">
<soap:operation soapAction="" />
- <input>
<soap:body namespace="urn:HelloWS/wsdl" use="literal" />
</input>
- <output>
<soap:body namespace="urn:HelloWS/wsdl" use="literal" />
</output>
</operation>
</binding>
- <service name="HelloWS">
- <port binding="tns:HelloWSSEIBinding" name="HelloWSSEIPort">
<soap:address location="http://cxrus020:8080/HelloWebService/HelloWS" />
</port>
</service>
</definitions>Hi all,
I done further testing using live web service from xmethod.net.
I got the similar error as shown in my first posting.
Anyone have got any ideas ? Thanks
try{
String wsdlURL = "http://www.webservicemart.com/uszip.asmx?WSDL";
String namespace = "http://webservicemart.com/ws/";
String serviceName = "USZip";
QName serviceQN = new QName(namespace, serviceName);
//String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service service = serviceFactory.createService(new URL(wsdlURL), serviceQN);
//QName portQname = new QName(namespace, "HelloWSSEIPort");
Call call = service.createCall();
call.setOperationName(new QName(namespace, "ValidateZip"));
call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "");
call.addParameter("ZipCode",serviceQN,javax.xml.rpc.ParameterMode.IN);
call.setReturnType(serviceQN);
String ret = (String) call.invoke(new Object[]{"123456"});
System.out.println("ret:" + ret);
}catch(Exception ex){
ex.printStackTrace();
} -
No support for JBoss 4 in NetBeans 6?
Hi everybody,
I switched from Eclipse to NetBeans and i have to use JBoss 3.2.4. I can setup different application server and JBoss as well, but only from version 4.
Tools > Servers > Add Server > "Select Home-Directory from Jboss 3.2.4" throws this alert: "Provide a valid JBoss Application Server 4 or 5 Installation Location".
On the NetBeans Website I didn't find anything about this support.
Can someone tell me if thats just a config problem and/or how I can resolve this?
ChrisYeah, i'm having the same issue here. I insyalled my server in the following location:
/opt/jboss/jboss-4.2.3.GA/
I can start and shutdown the server from the command line, but can't add the server to Netbeans 6.1 IDE. Where is the installation directory for the JBOSS installation supposed to be?
Darel -
Oim 9.1.0.1 installation Jboss4.2.3.GA
Hi All,
I'm trying install oim 9.1.0.1 in jboss app serv here me stack
OS: oracle enterprise linux 5
JDK: sun jdk 1.6u10 64 bits linux
APPSERV: JBOSS 4.2.3.GA
DB: oracle 11gR1 64 bit linux
there are many exceptions in jboss server.log at installation time:
ERROR [XELLERATE.DATABASE] Class/Method: DirectDB/DBPoolManager encounter some problems: No ClassLoaders found for: oracle.jdbc.driver.OracleDriver
shall I copy ojdbc6.jar to JBOSS_HOME/server/deafult/lib??? as docs says if you use SQL Server???
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Nexaweb]] Error loading org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader@7f19efa7 com.nexaweb.loader.ClientLoaderServlet
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Nexaweb]] Servlet /Nexaweb threw load() exception
java.lang.ClassNotFoundException: com.nexaweb.loader.ClientLoaderServlet
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Nexaweb]] Error loading org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader@7f19efa7 com.nexaweb.loader.NexawebDataService
and many more ERRORS I think something is not configured maybe a CLASSPATH or maybe a something in Jboss installation... I following
http://download.oracle.com/docs/cd/E14049_01/doc.9101/e14046/install_config_jboss.htm#BABIDGFE
but I think this is not a correct installation guide
Thanks in advanceHi Sri,
First Question:
Yes. You need to install first OIM 9.1.0.1 and then install OIM 9.1.0.2 Patch.
Second question:
Patchset 8484010
I will also suggest you apply the latest patch of OIM 9.1.0.2 version available: Patchset 13527893, version BP19.
Be aware: Contact your Oracle Support team and check until when you have OIM 9.1.0.2 support.
I hope this helps,
Thiago Leoncio. -
Sun Studio (12,1) is unable to find a supported version of the Netbeans IDE
Hi all,
We're working on upgrading both the hardware and software on our application currently, and part of this involves upgrading our compiler to Sun Studio 12.1. I downloaded
SunStudio12u1-SunOS-SPARC-pkgs-ML.tar.bz2
from the Sun website and we installed it into the following location on our server:
/opt/compiler/sunstudio12.1
I successfully compiled all my code using the compiler, however, when I try to launch the debugger by typing ./sunstudio in the 'bin' directory, I get the following error:
{opt/compiler/sunstudio12.1/bin}./sunstudio
Sun Studio is unable to find a supported version of the NetBeans IDE.
Sun Studio requires a NetBeans IDE version 6.5.1 with NetBeans C/C++ module (cnd
2) enabled.
Sun Studio looks for a valid NetBeans IDE installation in the following order:
1) Location specified with --netbeanshome command line option
2) At /opt/compiler/sunstudio12.1/netbeans
I have seen references to executing 'prepare_system' on forums while I was trying to investigate this, but when our sys admin folks try to execute the command, it does not work (command not found). They've mentioned that they expected a prepare_system script in the directory where we untarred the downloaded sun studio tarfile, but it is not there:
drwxrwxr-x 4 59001 staff 1024 Aug 20 2009 .
drwxr-xr-x 3 yu12 lifecad 1024 Jul 2 09:48 ..
drwxrwxr-x 4 59001 staff 1024 Aug 17 2009 LEGAL
-rw-rw-r-- 1 59001 staff 3985 Aug 19 2009 SS12u1_README-pkgs.txt
-rw-r--r-- 1 59001 staff 5598 Aug 20 2009 SS12u1_README-pkgs_ja.html
-rw-r--r-- 1 59001 staff 4155 Aug 20 2009 SS12u1_README-pkgs_zh.html
-rwxrwxr-x 1 59001 staff 517979136 Aug 6 2009 SunStudio12u1-SunOS-SPARC-pkgs.sh
-rwxrwxr-x 1 59001 staff 11814 Aug 6 2009 install_patches.sh
drwxrwxr-x 5 59001 staff 96 Aug 17 2009 patches
I can see a netbeans directory was created as part of the install, but I'm not sure why sun studio thinks netbeans is not available (afraid my knowledge about netbeans is practically non existent):
{opt/compiler/sunstudio12.1/netbeans}ls -l
total 6062
drwxr-x--- 2 root root 512 Apr 5 11:14 bin
drwxr-x--- 7 root root 512 Apr 5 11:14 cnd2
-rw-rw-r-- 1 root root 5254 Mar 5 2009 CREDITS_ja.html
-rw-rw-r-- 1 root root 5175 Mar 5 2009 CREDITS_pt_BR.html
-rw-rw-r-- 1 root root 4908 Mar 5 2009 CREDITS_zh_CN.html
-rw-rw-r-- 1 root root 5434 Mar 5 2009 CREDITS.html
-rw-rw-r-- 1 root root 1717 Mar 5 2009 DISTRIBUTION.txt
-rw-rw-r-- 1 root root 0 Aug 6 2009 dummy
drwxr-x--- 2 root root 512 Apr 5 11:14 etc
drwxr-x--- 7 root root 512 Apr 5 11:14 gsf1
drwxr-x--- 6 root root 512 Apr 5 11:14 ide10
-rw-rw-r-- 1 root root 1845 Mar 5 2009 LEGALNOTICE.txt
-rw-rw-r-- 1 root root 64275 Mar 5 2009 LICENSE.txt
-rw-rw-r-- 1 root root 37141 Mar 5 2009 moduleCluster.properties
drwxr-x--- 7 root root 512 Apr 5 11:14 nb6.5
-rw-rw-r-- 1 root root 15822 Mar 5 2009 netbeans.css
drwxr-x--- 8 root root 512 Apr 5 11:14 platform9
-rw-rw-r-- 1 root root 6141 Mar 5 2009 README_ja.html
-rw-rw-r-- 1 root root 5692 Mar 5 2009 README_pt_BR.html
-rw-rw-r-- 1 root root 5122 Mar 5 2009 README_zh_CN.html
-rw-rw-r-- 1 root root 5155 Mar 5 2009 README.html
-rw-rw-r-- 1 root root 2913280 Mar 5 2009 THIRDPARTYLICENSE.txt
drwxr-x--- 5 root root 512 Apr 5 11:14 websvccommon1
Our server details are:
{opt/compiler}uname -a
SunOS a03714 5.10 Generic_142900-03 sun4v sparc SUNW,T5440
Any advice appreciated on how to get the debugger working. Ideally, I'd prefer not to uninstall / reinstall if at all possible as we're about to start system testing our executables, and I think a reinstall would require more unit teting and delays to our project (yikes!). But any input would be appreciated here.
Thanks,
Brendan.Hi David,
First off - thanks for the response. I do have some follow up questions if you don't mind though:
1. When you say the install is corrupted, do you suspect
- the file I downloaded from the website either was corrupted, or was not the correct file for my platform
- the procedure used to install the software was incorrect
- something else
2. Is there a logfile that the sun studio install creates which would indicate an error during the installation procedure? I'm sure our admins who performed the install would have shouted if an error was logged... but on the offchance that the installation does not 'shout loudly' for some errors, I'd like to see a log of the error. At a minimum, I'd expect it to say why the install failed, and what we need to modify to ensure a successful install next time 'round.
3. I successfully compiled my code using the C compiler from the install. My unit tests also look good... does this suggest that the install was at least a partial success, and would you suspect that my recompiled executables are reliable, despite the fact that I cannot launch the IDE?
4. Today, one of our admins telnetted to our unix server - not via exceed by the way, but he did try the following test:
- set his display env variable (he knew he would not get a display however)
- executed the sunstudio script
He did not get the netbeans error, and the process appeared to be running (as I mentioned, without a display) until he killed it. I've asked if they can repeat the test using an exceed session. I thought there may be something on his $PATH that I did not have - unfortunately this was not the case (although, he may have access as 'root' to something that I require to launch the IDE). My question is, would you expect this behaviour if the install was corrupted?
Let me know what you think.
Thanks,
Brendan. -
Install OIM 9.0.2 on Linux with JBOSS or OAS 10.1.3.1
Hi all,
I try to install OIM on RHEL 4 update 3 .
First I installed OIM 9.0.2 in Oracle 10.2.0.1 with JBOSS and I obstacled with errors during compilling adapters of OEBS and OID from Connectors Pack.
After that I desided to install OIM in existing Oracle 10.2.0.1 on OAS 10.1.3.1 during installation I obstacle with follow error "Oracle Identity Manager installer has found that Oracle Application Server is not running. So, start Oracle Application Server and then proceed with installation."
I tested my OAS and I's starting
Please give me advise about my abilities with installation OIM 9.0.2 on Linux.For JBOSS I use
./java -version
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
For OAS 10.1.3.1 I use
./java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
After all, I installed OIM 9.0.2 on OAS 10.1.3.1 but I have same problems which I have with JBOSS installation:
1. I have warnings during import xml files of adapters such as
OID User
[Warning] Warn:Target has more recent definition.
Lookup.OID.Department
[Warning] Warn:Target has more recent definition.
Lookup.OID.Location
[Warning] Warn:Target has more recent definition.
UD_OID_ROLE
[Warning] Warn:Target has more recent definition.
adpOIDADDUSERTOGROUP
[Warning] Warn:Target has more recent definition.
AttrName.Prov.Map.OID
[Warning] Warn:Target has more recent definition.
com.thortech.xl.dataobj.tcUD_OID_ROLE
[Warning] Warn:Target has more recent definition.
com.thortech.xl.dataobj.tcOBJ
[Warning] Warn:Target has more recent definition.
etc ...
2. I have errors during compilling adapters in Design Console, It's error such as ""CODE GEN EXCEPTION" " -
Hi,
I configure jboss-4.0.0RC1 in my linux server. Is it possible to communicate with tomcat. Because one of my clinet server contains j2sdk/ tomcat ...and j2ee.jar file also available.
I get confused why he has done this configuration. And all the war file is deployed under jboss/ ...default/ deploy/ folder.Yes, [JBoss was retired (TA24962)|http://support.apple.com/kb/TA24962], and (FWIW) [here are the generic JBoss installation instructions|http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch01.html].
-
How to specify alias for local filesystem in JBOSS
hi,
I want to specify alias for localfilesystem in JBOSS. I know how to do it in Apache_2.0.52-Openssl_0.9.7e-Win32. In this we can specify alias as,
Alias /icons/ "C:/Program Files/Apache_2.0.52-Openssl_0.9.7e-Win32/icons/" in httpd.conf and futher we can specify the directory access also. So I want to do the same thing in JBOSS. How to do it.
Thanks.JBoss is an app-server, not an HTTP server. The concept of directories is meaningless, as everything is based on contexts. Any of the HTTP server options will be handled by the Tomcat (Catalina) engine that is part of the JBoss installation. You can configure the Tomcat server by editing the jboss-service.xml file in JBOSS_HOME/deploy/tomcat-5.5.sar (or something like that). If you really need to start mapping/rewriting URLs onto your J2EE application, I'd suggest using Apache as the front-end, and connect the Web-tier to Apache via mod_jk. Then you can use all of Apache's URL rewriting and directory aliasing and specify access on a per-location basis. Some of Apache's functionality may be available to the Catalina engine, but there's no sense in trying to make Tomcat as "capable" as Apache, when a means to connect the two already exists.
Brian -
Why does Sun Studio need NetBeans?
Hi!
Why does Sun Studio need a NetBeans installation for running successfully? If I am not too wrong, I believe Sun Studio has the same relation to the NetBeans project as Star Office has to OpenOffice.org?
Now, coming to the solution. I am using Sun Studio 12 on Solaris:
amit@opensolaris:~$ sunstudio --netbeanshome /export/home/amit/netbeans-6.5beta/bin/
Validating NetBeans IDE at: "/export/home/amit/netbeans-6.5beta/bin/"
Sun Studio is unable to find a supported version of the NetBeans IDE at the specified location.
Sun Studio requires a NetBeans IDE version 5.5.1 with NetBeans C/C++ Development Pack version 5.5.1
installed. Sun Studio looks for a valid NetBeans IDE installation in the following order:
1) Location specified with --netbeanshome command line option
2) At /opt/netbeans-5.5.1 location, if exists
3) At /opt/SUNWspro/../netbeans-5.5.1 location, if exists
4) At /opt/SUNWspro/../../netbeans-5.5.1 location, if exists
Please run the System Preparation Tool (prepare_system), if available, to set up your environment.
As is apparent, I have a NetBeans 6.5 Beta build.
What is the solution?
Thanks,
AmitThe realtionship from SunStudio to NetBEans is more than a line from A to B.
Ideally SunStudio releases would track NetBeans releases.
However, NetBeans evolves at a rather fast pace. At the same time SunStudio
also contains compilers which have their own products to coordinate with ...
OS releases, new SPARC chips and Sun system releases.
These releases never coincide so SunStudio tends to lag in it's dependencies
on NetBeans and as a result ships with it's own copy.
We used to actually build our own, sometimes tweaked, NetBeans for SunStudio.
Weve made some progress in that we just pick released NetBeans bits and re-ship them.
We're working on the ability for SunStudio to use NetBeanses which are already
installed.
To make older SunStudios use newer NetBeans is a tougher proposition but
we're dedicating grey cells to that matter as well.
If you really want a NB 6.5 based SunStudio wait a bit. We'll be releasing
SunStudio SX based on NB 6.5 shortly. -
Sun Studio is unable to find a supported version of the NetBeans IDE at the
I'm following the system install instructions in the Grid Compute Utility guide, Appendix A "Building a Local Development Environment" and am getting stuck on step 4, installing sunstudio. I'm running Solaris 5.10 on x86 and can run netbeans IDE without problem. Here is some info, I'm not sure what other system info is relevant:
bash-3.00# which netbeans
/opt/netbeans-5.5.1/bin/netbeans
bash-3.00# which sunstudio
/usr/bin/sunstudio
bash-3.00# sunstudio
Validating NetBeans IDE at: "/opt/SUNWspro/../netbeans-5.5.1"
Sun Studio is unable to find a supported version of the NetBeans IDE at the specified location.
Sun Studio requires a NetBeans IDE version 5.5.1 with NetBeans C/C++ Development Pack version 5.5.1
installed. Sun Studio looks for a valid NetBeans IDE installation in the following order:
1) Location specified with --netbeanshome command line option
2) At /opt/netbeans-5.5.1 location, if exists
3) At /opt/SUNWspro/../netbeans-5.5.1 location, if exists
4) At /opt/SUNWspro/../../netbeans-5.5.1 location, if exists
Please run the System Preparation Tool (prepare_system), if available, to set up your environment.
Any help!?Did you install NetBeans separately or let Sun Studio installer do it? The latter usually results in working configuration.
I think that NetBeans installation simply doesn't have c++ pack; you can install one following usual NetBeans modules installation path and then re-try starting Sun Studio.
Another option is to uninstall NetBeans and re-install Sun Studio using its installer, which should set up NetBeans properly. -
Hi,
I have installed SAM (together with S1DS, Web Server and Administration Server (from JES installer)).
I have installed and configured Policy Agent for JBoss AS, but i'm getting a browser "Redirect loop" (Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.) error after I login with a correct user/password combination when I try to access the sample application.
My browser accepts cookies from all domains and I get no error in console.
My AMAgent.properties looks like this:
com.sun.identity.agents.config.user.mapping.mode = USER_ID
com.sun.identity.agents.config.user.attribute.name = employeenumber
com.sun.identity.agents.config.user.principal = false
com.sun.identity.agents.config.user.token = UserToken
com.sun.identity.agents.config.client.ip.header =
com.sun.identity.agents.config.client.hostname.header =
com.sun.identity.agents.config.load.interval = 0
com.sun.identity.agents.config.locale.language = en
com.sun.identity.agents.config.locale.country = US
com.sun.identity.agents.config.organization.name = /
com.sun.identity.agents.config.audit.accesstype = LOG_BOTH
com.sun.identity.agents.config.log.disposition = ALL
com.sun.identity.agents.config.remote.logfile = amAgent_11_126_14_20_8080.log
com.sun.identity.agents.config.local.logfile = /home/ciuc/stuff/src/j2ee_agents/am_jboss_agent/agent_001/logs/audit/amAgent_11_126_14_20_8080.log
com.sun.identity.agents.config.local.log.rotate = false
com.sun.identity.agents.config.local.log.size = 52428800
com.sun.identity.agents.config.webservice.enable = false
com.sun.identity.agents.config.webservice.endpoint[0] =
com.sun.identity.agents.config.webservice.process.get.enable = true
com.sun.identity.agents.config.webservice.authenticator =
com.sun.identity.agents.config.webservice.internalerror.content = WSInternalErrorContent.txt
com.sun.identity.agents.config.webservice.autherror.content = WSAuthErrorContent.txt
com.sun.identity.agents.config.access.denied.uri =
com.sun.identity.agents.config.login.form[0] =
com.sun.identity.agents.config.login.error.uri[0] =
com.sun.identity.agents.config.login.use.internal = true
com.sun.identity.agents.config.login.content.file = FormLoginContent.txt
com.sun.identity.agents.config.auth.handler[] =
com.sun.identity.agents.config.logout.handler[] =
com.sun.identity.agents.config.verification.handler[] =
com.sun.identity.agents.config.redirect.param = goto
com.sun.identity.agents.config.login.url[0] = http://sam.domain:80/amserver/UI/Login
com.sun.identity.agents.config.login.url.prioritized = true
com.sun.identity.agents.config.agent.host =
com.sun.identity.agents.config.agent.port =
com.sun.identity.agents.config.agent.protocol =
com.sun.identity.agents.config.login.attempt.limit = 0
com.sun.identity.agents.config.sso.decode = true
com.sun.identity.agents.config.amsso.cache.enable = true
com.sun.identity.agents.config.cookie.reset.enable = false
com.sun.identity.agents.config.cookie.reset.name[0] =
com.sun.identity.agents.config.cookie.reset.domain[] =
com.sun.identity.agents.config.cookie.reset.path[] =
com.sun.identity.agents.config.cdsso.enable = false
com.sun.identity.agents.config.cdsso.redirect.uri = /agentapp/sunwCDSSORedirectURI
com.sun.identity.agents.config.cdsso.cdcservlet.url[0] = http://dm-test-win-1:80/amserver/cdcservlet
com.sun.identity.agents.config.cdsso.clock.skew = 0
com.sun.identity.agents.config.cdsso.trusted.id.provider[0] = http://dm-test-win-1:80/amserver/cdcservlet
com.sun.identity.agents.config.logout.application.handler[] =
com.sun.identity.agents.config.logout.uri[] =
com.sun.identity.agents.config.logout.request.param[] =
com.sun.identity.agents.config.logout.introspect.enabled = false
com.sun.identity.agents.config.logout.entry.uri[] =
com.sun.identity.agents.config.fqdn.check.enable = true
com.sun.identity.agents.config.fqdn.default = jbossAS.domain
com.sun.identity.agents.config.fqdn.mapping[] =
com.sun.identity.agents.config.legacy.support.enable = false
com.sun.identity.agents.config.legacy.user.agent[0] = Mozilla/4.7*
com.sun.identity.agents.config.legacy.redirect.uri = /agentapp/sunwLegacySupportURI
com.sun.identity.agents.config.response.header[] =
com.sun.identity.agents.config.redirect.attempt.limit = 0
com.sun.identity.agents.config.port.check.enable = false
com.sun.identity.agents.config.port.check.file = PortCheckContent.txt
com.sun.identity.agents.config.port.check.setting[8080] = http
com.sun.identity.agents.config.notenforced.uri[0] = /agentsample/public/*
com.sun.identity.agents.config.notenforced.uri[1] = /agentsample/images/*
com.sun.identity.agents.config.notenforced.uri[2] = /agentsample/styles/*
com.sun.identity.agents.config.notenforced.uri[3] = /agentsample/index.html
com.sun.identity.agents.config.notenforced.uri[4] = /agentsample
com.sun.identity.agents.config.notenforced.uri.invert = false
com.sun.identity.agents.config.notenforced.uri.cache.enable = true
com.sun.identity.agents.config.notenforced.uri.cache.size = 1000
com.sun.identity.agents.config.notenforced.ip[0] =
com.sun.identity.agents.config.notenforced.ip.invert = false
com.sun.identity.agents.config.notenforced.ip.cache.enable = true
com.sun.identity.agents.config.notenforced.ip.cache.size = 1000
com.sun.identity.agents.config.attribute.cookie.separator = |
com.sun.identity.agents.config.attribute.date.format = EEE, d MMM yyyy hh:mm:ss z
com.sun.identity.agents.config.attribute.cookie.encode = true
com.sun.identity.agents.config.profile.attribute.fetch.mode = NONE
com.sun.identity.agents.config.profile.attribute.mapping[] =
com.sun.identity.agents.config.session.attribute.fetch.mode = NONE
com.sun.identity.agents.config.session.attribute.mapping[] =
com.sun.identity.agents.config.response.attribute.fetch.mode = NONE
com.sun.identity.agents.config.response.attribute.mapping[] =
com.sun.identity.agents.config.bypass.principal[0] =
com.sun.identity.agents.config.default.privileged.attribute[0] = AUTHENTICATED_USERS
com.sun.identity.agents.config.privileged.attribute.type[0] = Role
com.sun.identity.agents.config.privileged.attribute.tolowercase[Role] = false
com.sun.identity.agents.config.privileged.session.attribute[0] =
com.sun.identity.agents.config.service.resolver = com.sun.identity.agents.jboss.v40.AmJBossAgentServiceResolver
com.sun.identity.agents.app.username = amagent
com.iplanet.am.service.secret = AQICJmGvlBWYuAYQndALuvNKiw==
am.encryption.pwd = /mY/WidDT34aJtbcFS0pCKFEt6evPeTF
com.sun.identity.client.encryptionKey= /mY/WidDT34aJtbcFS0pCKFEt6evPeTF
com.iplanet.services.debug.level=error
com.iplanet.services.debug.directory=/home/ciuc/stuff/src/j2ee_agents/am_jboss_agent/agent_001/logs/debug
com.iplanet.am.cookie.name=iPlanetDirectoryPro
com.iplanet.am.naming.url=http://sam.domain:80/amserver/namingservice
com.iplanet.am.notification.url=http://jbossAS.domain:8080/agentapp/notification
com.iplanet.am.session.client.polling.enable=false
com.iplanet.am.session.client.polling.period=180
com.iplanet.security.encryptor=com.iplanet.services.util.JCEEncryption
com.iplanet.am.sdk.remote.pollingTime=1
com.sun.identity.sm.cacheTime=1
com.iplanet.am.localserver.protocol=http
com.iplanet.am.localserver.host=jbossAS.domain
com.iplanet.am.localserver.port=8080
com.iplanet.am.server.protocol=http
com.iplanet.am.server.host=sam.domain
com.iplanet.am.server.port=80
com.sun.identity.agents.server.log.file.name=amRemotePolicyLog
com.sun.identity.agents.logging.level=BOTH
com.sun.identity.agents.notification.enabled=true
com.sun.identity.agents.notification.url=http://jbossAS.domain:8080/agentapp/notification
com.sun.identity.agents.polling.interval=3
com.sun.identity.policy.client.cacheMode=subtree
com.sun.identity.policy.client.booleanActionValues=iPlanetAMWebAgentService|GET|allow|deny:iPlanetAMWebAgentService|POST|allow|deny
com.sun.identity.policy.client.resourceComparators=serviceType=iPlanetAMWebAgentService|class=com.sun.identity.policy.plugins.HttpURLResourceName|wildcard=*|delimiter=/|caseSensitive=false
com.sun.identity.policy.client.clockSkew=1011.126.14.20 is the computer where I have the JBoss installation.
11.126.14.18 is the computer where I have SAM services.
Do you have any idea why this error may occur?
Thank you in advance,
CristiHi,
Thanks for your responses, I've included my AMAgent.properties below if you could take a look at it.
I only seem to run into the problem when I authenticate if the following is set:
com.sun.identity.agents.config.profile.attribute.fetch.mode = HTTP_HEADER
If that is set to NONE then I can access the application fine, but if i use the HTTP_HEADER and attempt to pass information via the header I get stuck in the loop which results in the message <strong>".Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."</strong>
There is no helpful output in either my container log or the Policy Agent logs.
The myHost.local. exists within my /etc/hosts file and using ping and other tools resolve fine.
I am using JBOSS 4.2.2 on Linux (and windows).
If anyone can help save my sanity it would be appreciated.
com.sun.identity.agents.config.filter.mode = URL_POLICY
com.sun.identity.agents.config.user.mapping.mode = USER_ID
com.sun.identity.agents.config.user.attribute.name = employeenumber
com.sun.identity.agents.config.user.principal = false
com.sun.identity.agents.config.user.token = UserToken
com.sun.identity.agents.config.load.interval = 0
com.sun.identity.agents.config.locale.language = en
com.sun.identity.agents.config.locale.country = US
com.sun.identity.agents.config.audit.accesstype = LOG_NONE
com.sun.identity.agents.config.log.disposition = REMOTE
com.sun.identity.agents.config.remote.logfile = amAgent_8089.log
com.sun.identity.agents.config.local.logfile = /usr/j2ee_agents/am_jboss_agent/agent_001/logs/audit/amAgent_8089.log
com.sun.identity.agents.config.local.log.rotate = false
com.sun.identity.agents.config.local.log.size = 52428800
com.sun.identity.agents.config.webservice.enable = false
com.sun.identity.agents.config.webservice.endpoint[0] =
com.sun.identity.agents.config.webservice.process.get.enable = true
com.sun.identity.agents.config.webservice.authenticator =
com.sun.identity.agents.config.webservice.internalerror.content = WSInternalErrorContent.txt
com.sun.identity.agents.config.webservice.autherror.content = WSAuthErrorContent.txt
com.sun.identity.agents.config.login.form[0] = /manager/AMLogin.html
com.sun.identity.agents.config.login.form[1] = /host-manager/AMLogin.html
com.sun.identity.agents.config.login.error.uri[0] = /manager/AMError.html
com.sun.identity.agents.config.login.error.uri[1] = /host-manager/AMError.html
com.sun.identity.agents.config.login.use.internal = true
com.sun.identity.agents.config.login.content.file = FormLoginContent.txt
com.sun.identity.agents.config.auth.handler[] =
com.sun.identity.agents.config.logout.handler[] =
com.sun.identity.agents.config.verification.handler[] =
com.sun.identity.agents.config.redirect.param = goto
com.sun.identity.agents.config.login.url[0] = http://myHost.local:8080/amserver/UI/Login
com.sun.identity.agents.config.login.url.prioritized = true
com.sun.identity.agents.config.login.url.probe.enabled = true
com.sun.identity.agents.config.login.url.probe.timeout = 2000
com.sun.identity.agents.config.agent.host =
com.sun.identity.agents.config.agent.port =
com.sun.identity.agents.config.agent.protocol =
com.sun.identity.agents.config.login.attempt.limit = 0
com.sun.identity.agents.config.sso.decode = true
com.sun.identity.agents.config.amsso.cache.enable = true
com.sun.identity.agents.config.cookie.reset.enable = false
com.sun.identity.agents.config.cookie.reset.name[0] =
com.sun.identity.agents.config.cookie.reset.domain[] =
com.sun.identity.agents.config.cookie.reset.path[] =
com.sun.identity.agents.config.cdsso.enable = false
com.sun.identity.agents.config.cdsso.redirect.uri = /agentapp/sunwCDSSORedirectURI
com.sun.identity.agents.config.cdsso.cdcservlet.url[0] = http://myHost.local:8080/amserver/cdcservlet
com.sun.identity.agents.config.cdsso.clock.skew = 0
com.sun.identity.agents.config.cdsso.trusted.id.provider[0] = http://myHost.local:8080/amserver/cdcservlet
com.sun.identity.agents.config.cdsso.secure.enable = false
#com.sun.identity.agents.config.cdsso.domain[0] =
com.sun.identity.agents.config.logout.application.handler[] =
com.sun.identity.agents.config.logout.uri[] =
com.sun.identity.agents.config.logout.request.param[] =
com.sun.identity.agents.config.logout.introspect.enabled = false
com.sun.identity.agents.config.logout.entry.uri[] =
com.sun.identity.agents.config.fqdn.check.enable = true
com.sun.identity.agents.config.fqdn.default = am.ufidev.local.
com.sun.identity.agents.config.fqdn.mapping[] =
com.sun.identity.agents.config.legacy.support.enable = false
com.sun.identity.agents.config.legacy.user.agent[0] = Mozilla/4.7*
com.sun.identity.agents.config.legacy.redirect.uri = /agentapp/sunwLegacySu<br /> -
E:\jboss\jboss-4.0.5.GA\bin>run -c spend
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\jboss\jboss-4.0.5.GA\bin\\..
JAVA: C:\Program Files\java\jsdk1.4\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.g
cInterval=3600000
CLASSPATH: C:\Program Files\java\jsdk1.4\lib\tools.jar;E:\jboss\jboss-4.0.5.GA\bin\\run.jar;E:\jboss\jboss-4.0.5.GA\server\
spend\deploy;E:\jboss\jboss-4.0.5.GA\server\spend\conf;E:\jboss\jboss-4.0.5.GA\server\spend\conf\config;
===============================================================================
log4j:ERROR Could not instantiate class [org.apache.log4j.xml.DOMConfigurator].
java.lang.ClassNotFoundException: org.apache.log4j.xml.DOMConfigurator
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:309)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:449)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:77)
at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:338)
at org.jboss.logging.Logger.<init>(Logger.java:96)
at org.jboss.logging.Logger.getLogger(Logger.java:309)
at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:166)
at org.jboss.system.server.ServerImpl.init(ServerImpl.java:147)
at org.jboss.Main.boot(Main.java:197)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:536)
log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
log4j:WARN No appenders could be found for logger (org.jboss.system.server.Server).
log4j:WARN Please initialize the log4j system properly.
please can any body tell me how to solve this problemProblems like this don't cease to amaze me.
We are in the year of 2009 and this problem is most probably caused because jboss is started from a path which contains one or more space.
Try move your jboss installation or eclipse installation (i am not familiar how jboss in installed inside eclipse) to a folder with no spaces and the problem should go away.
It is sad that nice software like jboss has stupid bugs like this. Oh and it migh not be jboss but the JVM. It is silly in any case... -
OBIEE and Solaris installation
Hi,
This is my first time doing install of OBIEE 10.1.3.4.1 on Solaris10 and all working fine using default OC4J basic install. However when I want to use JBOSS AS 4.3 instead of OC4J, I am having some issues and hoping someone can shed some light here.
1. OBIEE was installed using 'oracle' user.
2. JBOSS was installed using 'jboss' user.
3. Deployed analytics.war to JBOSS - no problem.
4. Deployed xmlpserver.war to JBOSS by extracting war files into xmlpserver.war directory, modified xmlpserver-server-config.xml to point to XMLP repository.
5. Login to BIP ok.
6. Trying to modify OBI Presentation service settings (eg. server name and port) but getting "Could not write to configuration file" error.
Is this because OBIEE and JBOSS installation was done by two different users (therefore file access permission issue)? What is the best practice for installing OBIEE and J2EE app server in Solaris? Should it be installed by the same user or two different users but under the same group maybe? Any guidance will be greatly appreciated!
Edited by: gommie on 08-Sep-2009 18:19Definitely sounds like a permissions issue.
I couldn't vouch for best practice, but our installations were originally done two separate users (one for OBIEE, one for our app server, OAS) - but I changed it all to run under the same user as OBIEE.
It makes controlling services easier, and it eliminates file permission problems like you're seeing.
You could probably do it with putting both users in the same group and some umask magic to make sure files always have the same permissions for group as owner - but why bother if you can use the same user.
We saw problems running under two users which probably could have been solved in the long run by understanding exactly how OBIEE and app server interact and working carefully with umasks etc -- but again, unless there's a really good reason to have separate users, why make extra work for yourself.
I suppose if you were on a shared server and not the only application running on jboss I could see why separate users might be a better idea - but that's the only reason that springs to mind.
** caveat ** I'm not a unix sysadmin, I'm an app guy dabbling in unix - this advice may be wrong, it may in fact go against best practice. but it's worked for us so far :)
BTW is there a reason you're not installing the latest version, 10.1.3.4.1?
<edit>
please don't [cross-post|http://forums.oracle.com/forums/message.jspa?messageID=3744343#3744343], IMHO - this could be a useful thread and having replies in two places dilutes its usefulness in the future
</edit>
Edited by: rnm1978 on 08-Sep-2009 07:33
Edited by: rnm1978 on 08-Sep-2009 07:35 -
Jboss Server starting problem with eclipse
{color:#000080}+i am using eclipse 3.4.2 and jboss.When i start jboss serve the following error is getting!!!!+{color}
{color:#993300}DEPLOYMENTS IN ERROR:
Deployment "TransactionManager" is in error due to the following reason(s): **ERROR**, java.lang.ExceptionInInitializerError: java.net.MalformedURLException: unknown protocol: e
Deployment "jboss.jca:service=WorkManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **
Deployment "jboss:service=invoker,type=unified" is in error due to the following reason(s): Configured
Deployment "<UNKNOWN DefaultUserTransactionprovider>" is in error due to the following reason(s): ** UNRESOLVED Demands 'TransactionManager' **
Deployment "jboss:service=TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss:service=TransactionManager' **
Deployment "jboss.jca:service=CachedConnectionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **
Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): Configured{color}
Its URGENT
Thanks in advance_+Problems like this don't cease to amaze me.
We are in the year of 2009 and this problem is most probably caused because jboss is started from a path which contains one or more space.
Try move your jboss installation or eclipse installation (i am not familiar how jboss in installed inside eclipse) to a folder with no spaces and the problem should go away.
It is sad that nice software like jboss has stupid bugs like this. Oh and it migh not be jboss but the JVM. It is silly in any case...
Maybe you are looking for
-
My Dows iMac does not Boot up into the OS nor into the DVD after creating..
Hi All, I ended up in strange situation where iMac doesn't even Boot, neither from the HD nor from the DVD, I ended up with this problem after creating a Bootcamp partition on my iMac. I tried all the possible troubleshooting methods given in the App
-
I want to store movies on an SD disk, watch them on the way to Europe, then use the chip to record photos in my camera. I can't get the iPad mini to recognize the videos I've recorded.
-
PC will not automatically repair itself
When I turn on my PC, it goes to a screen that says it cannot repair itself. I am no longer under warranty and the person I talked to said I needed to ask for troubleshooting help.
-
After Effects CS3 Not Starting
I installed After Effects CS3 on my mac running snow leopard 10.6.4 I also installed the update for After Effects. However it will not run, everything is activated and Adobe says the activation is fine. However the discontinued phone support for CS3.
-
How to restore original dock.app?
Hi, I downladed DockMod to change the color of my dock, and it patched the dock.app, but made a backup of the original dock. However, I'm not sure how to go about replacing the new dock.app with the backup, because the dock is always running...