Using wsadmin to deploy war to a WebSphere 7.0 - websphere

I'm using a client Docker container WAS8.5 (In a Gitlab Pipeline) trying to deploy to a WAS (standalone) 7.0. However, there is a problem because the wsadmin.sh 8.5 can't interact with a WAS7.
Is there an older wsadmin.sh 7?

Related

How to specify JDBC URL in spring boot application in case of the MySQL running as a Kubernetes Service?

I have a java application with maven build. I have provided the k8 service name of the mysql in the application properties of the spring boot application. However, I get error as unknown host and the maven build fails. How do I overcome this?
Application properties:
spring.datasource.url=jdbc:mysql://mymysqlk8servicename/testdb
When I build the application using mvn clean install, the build fails with error as java.net.UnknownHostException.
For the record, I am running the maven build in the master machine of the Kubernetes cluster. Should I run the java application only as a Kubernetes service? Is it possible to just run the java application without deploying in the Kubernetes cluster?
If you do
kubectl get service
You should be able to see the servicename. Pay attention to the port too.

java Standalone Client to remotely deploy war file to ibm liberty 20.0.0.x

How can java standalone client can be implemented for remotely deploying war file to ibm liberty 20.0.0.x?
No documentation found for standalone deployment script at https://www.ibm.com/support/knowledgecenter/SS7K4U_liberty/com.ibm.websphere.wlp.zseries.doc/ae/cwlp_server_clusters.html
Any modifications should be done to war before deploy to ibm liberty?

Unable to add Pivotal Server in Spring tool suite

I am using Mac PC and "Spring Tool suite" latest version based on eclipse "4.11.0"
I want to run the project using pivotal server, I am trying to add pivotal server.
Because their is no server added to my project getting error as bellow
"The specified server is not valid. The .tc-runtime-instance file is missing."
I have tried but Not working
https://tcserver.docs.pivotal.io/3x/docs-tcserver/topics/install-getting-started.html#homebrew
MacBook Air OS- MacOS Mojave version-10.14.4
Java jdk version 1.8
Kindly Help me on this

Deployment in Jboss fuse using Maven

I have created a Fuse integration project in developer studio 9.0.2 and I'm using jboss-fuse-karaf-6.3.0 as the runtime container.
I want to deploy this project using Maven, but not able to figure out -
How and where to give server URL, user name and password for the deployment ?
Does project gets deployed to fabric or karaf ?
Will appreciate if anybody can help with some pointers.
Thanks in advance.
Is that server running locally or remote?
Locally you can simply define the server in the servers view and then use Add context menu to deploy your project.
it gets deployed to Karaf
When building projects with Maven I use osgi:install and dev:watch commands (available in both JBoss Fuse and vanilla Karaf). The following setup works well for a development machine.
First build with Maven using install goal, so the artifact gets installed in local repository.
Then issue osgi:install (see Manual Deployment in JBoss Fuse docs) command in your container to install your bundle. Job done!
> osgi:install mvn:it.your.package/your-artifact/1.0.0
Once the bundle is installed you will see a message like
Bundle ID: 352
This is the ID of the bundle installed. Issue the following command:
> dev:watch 352
Watched URLs/IDs:
352
Now every time you rebuild with Maven, the bundle gets redeployed automatically.
Watch out some settings to be changed if dev:watch does not reload bundles on JBoss Fuse 6.3.0
edit: use -SNAPSHOT in your version with this setup. Regular versionsmay not redeploy correctly because the container sees the version is the same and may use previously loaded classes, thus causing classloading issues.

Deploying into remote TC server from STS ( spring tool suite )

I wanted to configure STS to deploy my application into remotely running tc server. When I try to add a new server from STS and select vmware vFabric tc server. I get error saying only local server is supported for this type.
Any one know how to setup a remote server on STS?
One option is to use this maven plugin that connects to a tomcat server:
http://tomcat.apache.org/maven-plugin-2.1/index.html
With more specific instructions here for tomcat 6:
http://tomcat.apache.org/maven-plugin-2.1/tomcat6-maven-plugin/usage.html
or replace 6 with 7 in the link for tomcat 7.
As far as I know, STS (eclipse) can only directly deploy to a local tomcat instance, but once you configure that plugin you can make a run configuration with the maven goal tomcat6:redeploy to easily deploy to your remote server.

Resources