Wso2 esb 5 tooling port offset not working - wso2

I am using new Mars 2 with esb tooling. I have added an local esb server with a carbon offset of 5. When I start run the server it starts correctly but the offset 5 does not have any impact none of the ports are incremented.
Starting the esb server from cmd works fine with offset.
Anyone else faced the same issue?
Here is the screen shot of the step while adding new server to eclipse, and I am giving the offset as 5. But when i start the server it starts on the 9443.

The screen you have attached, actually reads values from configuration files inside ESB and populates accordingly. So if you want an offset to your ports, then you should first change the following in <ESB_HOME>/repository/conf/carbon.xml
<Offset>4</Offset>
There after if you load the server configuration, you will see the Carbon server offset correctly reflecting as you have specified as below. The developer studio does not write values to files rather reads values from the them. So if a change is required to the default values, they should be first changed in the respective file.
New server dialog box

Related

How to avoid Hyper ledger Composer Rest server restart while upgrading(with change in model files) composer network installed?

We have a working setup of 3 peer nodes and a multi user rest server running on 1 of the peers. Now there are multiple user cards created and imported in the rest server(using web based client) which is working fine. I can trigger transactions and query the blockchain with it.
However In case I need to upgrade my network and there is some change in model file(i.e. any participant/asset/transaction parameters changes). I need to restart rest server so that effect can be observed by WEB based client application. So my questions are:
1. Is there a way to upgrade Rest interfaces without restarting the server.
2. In case Rest server crashed or restarted is there some way to use the old cards that were created before server shutdown.
When the REST server starts you can see that it "discovers" the Business Network and then generates the End Points. The discovery is not dynamic, so that when you change the model or other element of a BNA you need to restart the REST server to re-discover the updated network. (In a live scenario I would think changes to the model are infrequent.)
Are you using multi-user mode for the REST server? Assuming that you are, then Configuring the REST server with a persistent Data Source as described in the documentation, or this tutorial should solve the problem of re-importing the cards. You could also "backup" the cards after they have been used the first time by Exporting them.

ColdFusion 10 multi-instance on development install

So I am using ColdFusion 10 on Windows 7 64-bit machine. I have installed CF10 developer edition, now I am trying to create a second instance. I Add the instance in ColdFusion admin, then go into the Number folder and run the webconfig tool and add the site. When I go to services to start this new instance service, it does not start, it gives me an error.
App log:
The description for Event ID 256 from source ColdFusion 10 Application Server perm cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
Can anyone help me get the second instance working, or is this really not allowed in the dev edition?
If I can get this working for ColdFusion 10, I want to get ColdFusion 11 working with 2 instances next.
I was able to work with the adobe install team, and they helped me figure out my web config connectors were messed up, and there was a random cfide folder in the site causing confusion and delay. I am up and running now.

WSO2 server is not starting when running multiple servers

If I want to ESB and API Manager in the same machine to which server I should set the CARBON_HOME? IF setting CARBON_HOME for one server is enough?
No need to set CARBON_HOME. You only need to set is JAVA_HOME. When carbon server starts up it automatically assigns it to its path. If you set CARBON_HOME manually you won't be able to run multiple servers on the same machine. If you have already set, remove it.
No need of setting CARBON_HOME but you must give different offsets inWSO2_SERVER_HOME/repository/conf/carbon.xml in each wso2 server.
<Offset>1</Offset>
default value is 0
CARBON_HOME Term means that your current servers directory.You can think of Just like JAVA_HOME. You can have one server in one machine by changing the port offset in carbon.xml located in HOME/repository/conf/carbon.xml

location of cassandra.port in BAM2.2.0

I would like to monitor my application server application using WSO2 BAM. Intially I
didn't change the BAM offset address, keep it as by default(ie offset 0) and I changed the
application server offset as 2. It seems some problem to show. If I change the offset of BAM
server as 2. How can I change the cassandra.port address. I mean the location of the file in BAM 2.2.0 server.
Thanks
Cassandra port can be changed from wso2bam-2.2.0/repository/conf/etc/cassandra-component.xml.
But if you change BAM offset to 2, it automatically increases Cassandra port as well, unless you have enabled
<!--Nodes>localhost:9160</Nodes-->
entry in cassandra-component.xml.
If Lakmali's answer is not working properly apply the port offsets in,
All Hive scripts, if port numbers are used inside them. (Make sure you use DROP TABLE command before each Hive table's CREATE command, if you update the script in the same BAM pack without extracting a fresh pack.)
Cassandra port numbers in wso2bam-2.2.0/repository/conf/datasources/master-datasources.xml file.

Trying to run WebLogic samples in VMWare Lab Manager

I'm trying to do the following:
Installing a Oracle WebLogic 11g Server with the examples in a VMWare Lab Manager (virutal machine Windows XP SP3).
The problem is the following:
According to the installation instruction everything is quite easy and should work out of the box. The installation does not show any errors.
Normally (i tried on a real machine first) it is only needed to got to
Start - Oracle WebLogic - WebLogic Server 11GR1 - Examples - Start Medical Records Server (Spring Edition)
and everything should work fine (a webpage should open).
The problem is, that no Medical webpage shows up.
Digging a little bit deeper:
Start Medical Records Server is only a batch script. On the real machine (same OS) a derby server is started, on VM not.
The batch script on both machines are equal, but both call a setDomainEnv.cmd which containt on the real machine
set DERBY_FLAG=true
and on VM
set DERBY_FLAG=false
Changing the parameter from false to true does start up derby, but the webpage does not open.
The only info message looking liek an error shown on startup is
Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Cl
ass 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raise a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
but the machine finally goes to
Server started in RUNNING mode
Is there something else need to fire up the sample pages?
the admin console starts up at localhost:7011\console , but not the samples