Cloudscape port config on j2ee 1.4beta
i am trying to configure the cloudscape port. i've seen lots of docs about how to do this with 1.3 but i can't quite figure it out for 1.4beta.
here's what i've done:
1: change bin/launcher.xml. it now has a
<arg line="-port 1098"/>
in cloudscape-start target
2: <value="jdbc:rmi://localhost:1098/jdbc:cloudscape:"/>
in cloudscape-stop target
3: ..key="ij.protocol" value="jdbc:rmi://localhost:1098/jdbc:cloudscape"
...key="ij.database"
value="jdbc:rmi://localhost:1098/jdbc:cloudscape:CloudscapeDB;create=true"
in cloudscape-isql target.
4: change config/server-config.xml so all of its cloudscape url's point to jdbc:cloudscape:rmi://localhost:1098/CloudscapeDB
it seems to startup cloudscape ok on 1098, but when running "setup deploy", the appserver can't connect to cloudscape. i get the suspicion that it's still looking on the default port=1099 because when i run cloudscape -isql it says its using the default url, not the one i had specified in the launcher.xml file.
how can i be positive that cloudscape is running on 1098?
(i just use netstat -noa to check for ports in use, but this doesn't guarantee that it is succesfully installed).
where does the server get the db url, if not from the above metioned 2 files? i'm stuck...
thanks,
derek.
Could someone suggest a solution for this problem. I am trying to do the same thing and am getting stuck. What I am trying to do is this :
1) Run Cloudscape on a different port (2001) instead of 1099.
2) Change the J2EE server configuration by modifying resource.properties file so that the DB source is now rmi://localhost:2001/CloudscapeDB
3) The J2EE server starts up fine.
4) However when I try to deploy the PetStore application, there is an exception saying that connection refused.
So if someone has been able to successfully deploy the petstore application on clouldscape running at a different port than 1099 (default), could you send some suggestions.
Thanks,
Bon Bon
Similar Messages
-
LMS 4.2.5 Netconfig changing port config based on port settings
I am trying to use netconfig to change the port config on my switches. I want to use an adhoc rule to determine if the port already is configured for 802.1x (authentication port-control auto) authentication and then modify those ports to "authentication open".
IS that possible?
Thank you for your reaction?
Regards,
RobertHi Robert,
To check which device have this config , use Baseline Template
check the below link for example and case study.
Hope it will help
Thanks-
Afroz
***Ratings Encourages Contributors *** -
Hi Guys, need help on this.
I have this LabVIEW program that used to work on the old computer.
The old computer crashes most of the time, so I upgraded the computer
and used its Hard Drive as slave to the new computer.
I have no idea where are its installers since the guy that made the program
is not in my department anymore.
I downloaded all the drivers needed from NI: NIDAQ9.0, NIVISA,NI488.2,
and drivers of some instruments needed in the setup. I'm using LabVIEW8.2.
Everything's fine until I open the LabVIEW program for our testing.
Here goes the error:
DIO Port Config
DIO Port Write
Block Diagram Errors
Call Library Function Node: library not found or failed to load
Attachments:
ErrorList.JPG 200 KBHonestly, I'm a newbie on Labview. I just want this old program to run on the new computer.
The guys that installed the drivers on the old computer are no longer here in my department.
And I have no idea where the drivers are. So I just downloaded the drivers needed for my hardware and instruments.
Here's my hardware: (cards: PCI-DIO-96, PCI-GPIB), (instruments: SCB100,E4407B, HP83623, HP3458, HP8657)
OS: Windows XP Pro
By the way, I have unzipped the TraditionalDAQ drivers. First I tried the 7.4.1, but installation error appeared.
I thought maybe the installer is corrupted, so I downloaded the 7.4.4 and unzipped it.
But, still same installation error appears. I don't understand, both TraditionalDAQ drivers have same installation error.
Now I have tried the DAQmx8.7.2 driver, bu still the DIO Port Config and DIO Port Write have errors. -
Don't know how to specify a digital input or output with Port Config
I am trying to modify an existing VI that I did not write. I have a 6533 DAQ board connected to a relay box. I would like to use one of the lines on port 0 of the DAQ as an input (it will be a switch used to trigger the sequence of outputs). the rest of the lines I would like to be outputs. I don't know how to specify which line is an input and which is an output. I am using LabVIEW 5.1 and the current VI just contains a sequence of delays and pulse width for each channel. It uses Port Config to specify the port and line directions. Only it's set so that all of the lines are outputs. Does anyone know an easy way of using one input to control several outputs from the same port?
Thanks.. that is what I thought but I didn't see any examples with the line direction map set up like that. SO.. now I'm stuck on how to use that input to trigger the outputs on the same port. I need to use the input as a switch to activate a sequence using the outputs. So first.. how to I single out just the input line to be used for the trigger. Normally when I need to do something like this I'm referring to channels and not Port lines. Also, how do I language the switch? Is the input going to be normally binary? 0 for off and 1 for on? So should I use a boolean statement?
Thanks again for the help.. my boss doesn't know much about the programming either so I have to figure it out. -
Is there any way to create an XML template with a scope "port" that would allow you to configure switches with access and trunk ports . Currently I have to deploy once for the access port configs and then deploy again with one for trunk / uplink. I thought about adding my trunk ports to my base config (scope "device"), but it seems that the cli lines containing "interface" are removed or not processed unless I use the xml template with scope "port".
Thank you.Nope.
-
L'erreur -10001 s'est produite à DIO Port Config
Bonjour,
Lorsque je lance mon programme j'obtiens le message suivant:
"L'erreur -10001 s'est produite à DIO Port Config"
Que cela signifie?
Merci
Bravi.Pardon je me suis trompé de lien Voici la bonne adresse
http://digital.ni.com/public.nsf/websearch/0E0D3D7C4AA8903886256B29000C9D5A?OpenDocument
Encore désolé -
Can someone tell me the following about port config XML files :
1. How to generate these files.
2. Can we create port config files from an existing repository ports? If yes how?
3. Can we use an existing port config xml file to create ports in a new repository? if yes how?
Harsha.Hi,
they will be created when you save the port created in mdm console I believe
and that is the place where you should create ports and not from
the other way round
Regards,
michal -
Ethernetchannel config and ports config
Hello,
When I create a interface port channel the configs for that port channel will those configs overide the ports configs that are in that port channel or will just add to those ports configs?Hello
"Port-channel config will never overide to its member."
Humm - not sure i agree maybe I am mis-undertstanding the question or Latchum's reply
Lets say we create a L2 etherchannel
============================
1) default physical interfaces (if applicable)
2) configure port-channel in physical interfaces (port-channel will be created automatically
3)create trunking encapsulation or access port mode directly in port-channel interface ( this will propergate to the physical interfaces
4)enable physical interfaces "no shut" ( if applicable)
So when the the port-channel is automatically created via the physical interfaces, the configuration you apply on the port-channel will propergate to those physical interfaces within the port-channel
res
Paul
Please don't forget to rate any posts that have been helpful.
Thanks. -
Port issue with j2ee engine, http service provider
hi gurus,
on two of our standalone j2ee servers, the j2ee engine is up and running fine. from the mmc everything shows green including messager server.
but when i connect to the j2ee page using browser either from the client machine or on the server it never gives me an error message but the status bar keeps processing. never throws any sort of dispatcher or 500 error messages.
There were some GRC-Virsa components deployed over the weekend not sure if that had changed something.
After intial research the port information in the HTTP service provider showed 80 for http and 443 for ssl (https)so i had manually changed it to 50000 and 50001 from config tool respectively , restarted the server.
After the restart the j2ee page came up and the very second http request it goes to the loop again with no error message, whats the reason behind this sort of behavior. i have made the port changes over the whole cluster and restarted.
surprising it works only for the first time after restart, the very second http request never accepted by dispatcher/server process , no error message though.
environment, nw04s with plain j2ee, windows 2003, sql2008
please assist.
-durgathanks sean for responding, infact the issue is resolved yesterday.
Reason due to insufficient application threads and make sure the right port defined in HTTP service provider. So fixing these two things resolved the issue
Thanks,
Durga -
Hi,
I just installed J2EE 1.3.1 on a solaris machine and was able to start J2EE server successfully. However, when
I issue
cloudscape -start
it produces the following run-time error:
Fri Aug 30 16:59:18 EDT 2002: [RmiJdbc] Starting Cloudscape RmiJdbc Server Version 1.7.2 ...
Fri Aug 30 16:59:19 EDT 2002: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered in DriverManager
Fri Aug 30 16:59:19 EDT 2002: [RmiJdbc] Binding RmiJdbcServer...
Fri Aug 30 16:59:19 EDT 2002: [RmiJdbc] No installation of RMI Security Manager...
Got Exception: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use
java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:164)
at RmiJdbc.RJJdbcServer.register(RJJdbcServer.java:189)
at RmiJdbc.RJJdbcServer.main(RJJdbcServer.java:295)
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
at java.net.ServerSocket.bind(ServerSocket.java:308)
at java.net.ServerSocket.bind(ServerSocket.java:266)
at java.net.ServerSocket.<init>(ServerSocket.java:182)
at java.net.ServerSocket.<init>(ServerSocket.java:94)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:306)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:615)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:231)
... 9 more
My question is: how do I change the port settings in cloudscape?Hi,
the documentation describes in detail how to change the ports used by Cloudscape.
--> %J2EE_HOME%/doc/release/ConfigGuide.html
Daniel :-) -
How to modify the port number of j2ee reference?
hello
i install the j2ee1.3 on my windows2000 server,after i setup the environment,i iuput the "j2ee -verbose" within the dos window,the following exception is throwed:
Logging for J2EE Server Version: 1.3.1-b17 started at: Wed Aug 07 19:23:22 CST 2002..
Using the Java HotSpot(TM) Client VM and the version number 1.3.1 from Sun Microsystems Inc..
VM is using the classpath: E:\j2sdkee1.3.1\lib\system\cloudscape.jar;E:\j2sdkee1.3.1\lib\system\tools.jar;E:\j2sdkee1.3.1\lib\cloudscape\RmiJdbc.jar;E:\j2sdkee1.3.1\lib\cloudscape\cloudclient.jar;E:\j2sdkee1.3.1\lib\classes;E:\j2sdkee1.3.1\classes;E:\j2sdkee1.3.1\lib\j2ee.jar;E:\j2sdkee1.3.1\lib\toolclasses;E:\j2sdkee1.3.1\lib\j2eetools.jar;E:\j2sdkee1.3.1\lib\locale;;E:\JBuilder6\jdk1.3.1\lib\tools.jar;E:\j2sdkee1.3.1\lib\jhall.jar .
J2EE Home Directory has been set to: E:\j2sdkee1.3.1.
java.lang.RuntimeException: Could not initialize j2ee server. Possible cause could be another instance of the server already running.
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:119)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.lang.RuntimeException: Could not initialize j2ee server. Possible cause could be another instance of the server already running.
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:119)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.lang.RuntimeException: Could not initialize j2ee server. Possible cause could be another instance of the server already running.
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
J2EE server reported the following error: Could not initialize j2ee server. Possible cause could be another instance of the server already running.
Error executing J2EE server ...
it seem like that the "1050" port is in using by other program,but i don't know which one,i think i should modify the j2ee reference to use other port,how can i do that?
thank you very much!This certainly fixed the problem I was having when all of a sudden my j2ee server would no longer open. However, this raised a new question for me which is somewhat of an off-shoot to this problem - how does one select a new port#? Is there some rule of thumb? Just wondering.
Thanks! Janet -
Hello,
Our laptop is communicating with a Eurotherm 818 temperature control unit through the serial port. The program (Labview 7.1) uses VI's downloaded from the web, i.e. EI BYSINCH Read.vi and EI BYSINCH Write.vi, and obtains temperature and power measurements from the Eurotherm in real time. MAX says serial port is working properly. OS = Windows XP
PROBLEM: After around 2.5 hours (fairly consistently), the "Port 0 Config Error" occurs, and the program cannot be continued. I have determined that the error originates in the "Open Serial Driver.vi" which is a subvi in "Serial Port Init.vi", which in turn is a subvi in "Lab Serial Port Init.vi". (The first two vi's are Labview library files).
ATTEMPTS TO FIX: I have viewed a thread with a similar problem http://forums.ni.com/ni/board/message?board.id=170&message.id=76152&query.id=21947 for advice. I found the error handler and have tried creating loops to retry opening the driver, as well as closing it and then trying to open it again - with no success, i.e. Internal Error occurs. I have also been experimenting with the "force re-open" control in the "Open Serial Driver.vi", with no success as of yet.
Any ideas on solving this issue would be greatly appreciated.
Thanks very much,
IanIan,
Sounds like your program is not structured the way I like to interface the serial port. There should be one call to serial init. After the serial port is open save the reference and use it to read and write the serial port. When the program is complete call serial close once. This will take care of the issue. I have serial devices that I talk to for months at a time. Yes, months using Windows XP.
Matt
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison -
SDM version 7.00 SP 09 using wrong port to connect J2EE
Hello, I've installed a portal instance JC02. It's up and running fine. When deploying SDA's via SDM, it's trying to connect to localhost and port 50004 when it should be using 502004. I cannot find any properties files under the SDM directory that has this configuration. Anyone know where I can change the port number SDM should be using?
Thanks
BTW : This is an installation on Solaris 10Thanks Sameer, but the sdmrepository.sdc doesn't have port defined in there for the J2EE engine. SDM is running on port 50204, the correct port. The problem I am having is when I try to deploy and SCA file, SDM is trying to connect to the J2EE instance on port 50004 and fails. SDM should be using port 50204. I can connect using the visual admin just fine on this host and port 50204 and user J2EE_ADMIN. Here's the error in the sdm log:
Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapbwdev] with user name: [J2EE_ADMIN]
Check your login information.
Exception is:
com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is
com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
sapbwdev:50004 Reason: Cannot open connection on host: 10.55.1.105 and port: 50004]
So where can I change the port to use 50204?
Thanks -
SOAP Action in Logical port config
Hi,
I created a client proxy for an external web service, and developed a client application to use this proxy. I am trying to set up a logical port for it. However, in transaction LPCONFIG, it seems that the field SOAP Action is not persistent anywhere since once I leave the transaction screen and reopen it, the parameter disappears. This caused me an error when I use the proxy saying a valid action parameter needs to be set.
Anyone has any idea about this? Thanks a lot for your help!
Regards,
HartHi Thomas,
Thanks a lot for your help! Actually I resolved the issue I had before and now it works well. The problem I had was I created the client proxy based on a local wsdl file, and the proxy generation somehow did not add the soap actions as operations so in LPCONFIG I could not see any operations. The SOAP Action field is open for input, but it cannot be saved.
I regenerated the proxy using wsdl directly from a URL, and now I can see all my actions/operations in LPCONFIG and of course the action field can now be saved (associated to the selected operations).
Regards,
Hart -
Ciscoworks 3.2 RME Compliance Management w/ 802.1x Port Configs
I am currently trying to use LMS 3.2 Compliance management to verify and alter our access port configurations for 802.1x. Below is our current configuration:
switchport access vlan XX
switchport mode access
authentication control-direction in
authentication event fail retry 0 action authorize vlan XXX
authentication event no-response action authorize vlan XXX
authentication port-control auto
authentication periodic
dot1x pae authenticator
dot1x timeout quiet-period 10
dot1x timeout tx-period 10
dot1x timeout supp-timeout 10
dot1x max-req 1
dot1x max-reauth-req 1
storm-control broadcast level 75.00
spanning-tree portfast
spanning-tree bpduguard enable
I require the configurations to be changed to:
switchport access vlan XX
switchport mode access
authentication event fail action authorize vlan XXX
authentication event no-response action authorize vlan XXX
authentication port-control auto
authentication periodic
dot1x pae authenticator
dot1x timeout tx-period 8
storm-control broadcast level 10.00
storm-control multicast level 10.00
spanning-tree portfast spanning-tree bpduguard enable
Addtionally, I require LMS to verify that the port is indeed an access port with 802.1x already applied to it before adjusting the configurations. I have tried pushing this compliance check out with a prerequisite of having "switchport mode access" applied to it, and then having the next command set state:
Submode: interface [#Ethernet*/*/*#]
- dot1x max-req 1
- dot1x max-reauth-req 1
+ no dot1x max-req 1
+ no dot1x max-reauth-req 1
This was a simple test on a single device to see if I could remove the limits on authentication and requests entered. The job states successful and there are no devices that are non-compliant, however no changes to the device configurations have been made. I seek assistance in command syntax or if there is another way to push this out, as I have about 1k network devices to go through and make these changes.The following tempalte should do what you want:
Name: Global SubMode: No isPrerequisite: No
Ordered : No Prerequisite-Commandset : none Parent: none
Name: Switchport SubMode: Yes isPrerequisite: Yes
Ordered : No Prerequisite-Commandset : none Parent: none
interface [#FastEthernet.*#]
+[#switchport mode access#]
Name: 802fix SubMode: No isPrerequisite: No
Ordered : No Prerequisite-Commandset : Switchport Parent: Switchport
-dot1x max-req 1
-dot1x max-reauth-req 1
Note that I have changed to [#FastEthernet.*#] to be applied on
FastEthernet interfaces.
Maybe you are looking for
-
ORA-07445 on Ubuntu 8.04
Hello, I manage Oracle Database 10g Express Edition Release 10.2.0.1.0 on a Linux Ubuntu 8.04 server for some students. I've installed the package oracle-xe-universal Simple queries works fine but some like this one does'nt work : SQL> select nomf, n
-
Camera Raw (via Bridge) starts to malfunction. Help!
Windows XP Media Centre. PS CS3. This is not the first time this has happened to me. I am editing and saving images in Camera Raw via Bridge and suddenly, I cannot activate the Save Image command. The entire Camera Raw window just greys out and/or th
-
Infinity rollout stopped at the end of my street ?...
Hi all, This is my first post so here goes. Like most people I've been waiting for Infinity for a while now. I already know my exchange has been updated MYLOF, and that my street cabinet (CAB 15) hasnt been. My issue is that the rollout has completel
-
Newbie trying to optimize webcam with ffplay
I am playing with ffplay to view my webcam: ffplay -f video4linux2 /dev/video0 -x 320 -y 240 According to v4l-info, this is my webcam's native resolution. I noticed, however, that the display is very delayed, i.e. if I move my head it takes more than
-
Pass parameter from Webi to Xcelcisus Dashboard in BO4.0
Hi All, Please explain me how to pass para maters from webi report to Xcelsius Dashboard. Your Help is Highly appreciated. Thanks Arvind Shukla