Git Product home page Git Product logo

eclipse-integration-tcserver's Introduction

Pivotal tc Server Integration for Eclipse

The Pivotal tc Server Integration for Eclipse adds server adaptors for the Pivotal tc Server to the Eclipse JEE tooling. It makes it easy to deploy apps, start, debug and stop your tc Server, create new instances with various configurations, all from within Eclipse.

It also comes with the Spring Dashboard is an optional component, which brings you up-to-date information about Spring-related projects as well as an easy-to-use extension install to get additional tooling add-ons, like the famous Spring IDE or the Cloud Foundry Integration for Eclipse.

Installation (Release)

You can install the latest release of the vFabric tc Server Integration for Eclipse from the Eclipse Marketplace by looking for "tc Server". You can also install it manually from this update site:

https://dist.springsource.com/release/TOOLS/eclipse-integration-tcserver/

Installation (Milestone)

You can install the latest milestone build of the vFabric tc Server Integration for Eclipse manually from this udpate site:

https://dist.springsource.com/milestone/TOOLS/eclipse-integration-tcserver/

Installation (CI builds)

If you want to live on the leading egde, you can also install always up-to-date continuous integration buids from this update site:

https://dist.springsource.com/snapshot/TOOLS/eclipse-integration-tcserver/nightly

But take care, those builds could be broken from time to time and might contain non-ship-ready features that might never appear in the milestone or release builds.

Questions and bug reports:

If you have a question that Google can't answer, the best way is to go to the stackoverflow using the tag spring-tool-suite:

https://stackoverflow.com/tags/spring-tool-suite[`spring-tool-suite`]

Bug reports and enhancement requests are tracked using GitHub issues here:

https://github.com/spring-projects/eclipse-integration-tcserver/issues

Developing Pivotal tc Server Integration for Eclipse

Just clone the repo and import the projects into an Eclipse workspace. The easiest way to ensure that your target platform contains all the necessary dependencies, install a CI build into your target platform and proceed.

Building Pivotal tc Server Integration for Eclipse

The Pivotal tc Server Integration for Eclipse project uses Maven Tycho to do continuous integration builds and to produce p2 repos and update sites. To build the project yourself, you can execute:

mvn -Pe47 -Dmaven.test.skip=true clean install

eclipse-integration-tcserver's People

Contributors

martinlippert avatar BoykoAlex avatar leods avatar zaza avatar kdvolder avatar katesherwood avatar aclement avatar lak-proddev avatar MilesParker avatar

Stargazers

Keany Vy KHUN avatar STYLIANOS IORDANIS avatar 伊欧 avatar Roman Hossain Shaon avatar Pine Mizune avatar Artem Golovko avatar Willians Quispe avatar 张伟 avatar dhamu avatar Leo Dos Santos avatar Ladislav Gazo avatar

Watchers

Ryan Morgan avatar Josh Long avatar Martin Lippert avatar Oliver Drotbohm avatar Jens Schauder avatar Wayne Lund avatar Ilayaperumal Gopinathan avatar  avatar Craig Walls avatar Oleg Zhurakousky avatar Steve Bohlen avatar Andy Clement avatar Chris Richardson avatar Thomas Darimont avatar Miles Parker avatar Steffen Pingel avatar Jeremy Grelle avatar Ravindra Suroju avatar Jeremy Kuhnash avatar  avatar Derek Henninger avatar Glenn Renfro avatar  avatar James Cloos avatar Leo Dos Santos avatar Haytham Mohamed avatar Kris De Volder avatar Jarred Li avatar Ken Guzik avatar  avatar Nieraj Singh avatar Brian Dussault avatar  avatar  avatar 张伟 avatar Will Schipp avatar Gareth Clay avatar Olga Maciaszek-Sharma avatar  avatar Oleh Dokuka avatar rzoo avatar Alex Boyko avatar Joe Grandja avatar  avatar

eclipse-integration-tcserver's Issues

Eclipse: HTTP Proxy Authentication Required

Hi,
I would like to install Pivotal tc server runtime on my Eclipse. I'm spending all my energy, always with the same proxy error. I read a lot of things on the Internet, but now I have to admit that I'm tired. Why is it still so complicated in the Open world? If it continues I will definitely abandoned the server tc. Could you explain to me please? My Eclipse is in version 4.11.

HTTP Proxy Authentication Required: https://dist.springsource.com/release/TOOLS/eclipse-integration-tcserver/content.xml
Proxy Authentication Required

Thank you in advance.

[tc server 4.x] No way to configure tc server 4.x standard edition

Unable to add tc server 4.0.1 standard edition. Not developer edition.

1.Downloaded tc server 4.0.1 standard edition from here. https://network.pivotal.io/products/pivotal-tcserver
2.Installed "Pivotal tc Server Integration for Eclipse" 3.9.4.201804120859-RELEASE" on Photon Release Candidate 2 (4.8.0RC2).
3.While trying to configure new server adapter, I can see attached exception and not able to finish the wizard.
tc_server_exception.txt
tc_standard2

4.I think, this part of the code is causing the issue.

TcServerRuntime40.java at lines 38-40
public boolean accept(File dir, String name) {
return Pattern.matches("developer-\d\.\d\.\d\.(RELEASE|SNAPSHOT-BUILD)", name) && new File(dir, name).isDirectory();
}

pivotal-tc-server-developer-4.0.9.RELEASE and higher: The Tomcat installation directory is not valid. It is missing expected file or folder lib.

Summary:
Downloading the pivotal-tc-server-developer version greater than 4.0.9 and loading it to STS leads to this error message.
image

Expected:
Using pivotal-tc-server-developer-4.0.8.RELEASE and pivotal-tc-server-developer-4.0.9.RELEASE and loading it in STS with the tc-server plugin works fine. Important to mention that I created things from scratch. No other releases in the pivotal-tc-server directory.

Issue:
With a version from 4.0.10 and higher (current 4.0.15), the validation fails as seen in the image. Checking the content of the zip files looks like nothing is missing and only version numbers of the dependencies are different.

Workaround:
Downloading pivotal-tc-server-developer-4.0.9.RELEASE and pivotal-tc-server-developer-4.0.15.RELEASE and extracting them to the same folder allows me to choose the current tomcat release 9.0.36.B.RELEASE. The creation of the instance works!

Unfortunately, I could not find the error message in this code, and also not in the pivotal-tc-server scripts.

Best,
Patrick

Could not resolve view with name 'xxxx' in servlet with name 'yyyy'

I have an application that fails when using STS (see stack trace below) but works if I install Oxygen and then STS on top of it. Are there any differences between the two (project structure, how the projects get built, etc.) that might cause this? Are there any differences between the Tomcat that comes with STS and regular Tomcat?

javax.servlet.ServletException: Could not resolve view with name 'xxxx' in servlet with name 'yyyy'
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1266)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1041)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:984)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

During the creation of a server instance, a connection is made to repo.pivotal.io where local proxy settings are ignored.

Setting up a new tc-server-developer instance with the VMware TC Server Integration for Eclipse and a "Server Template for 4.1.3" standard and developer fails with the following stack trace on windows.

Important to mention we are in an enterprise environment where we are behind a proxy. Plugin installation via Marketplace works!

Error creating server instance with command:
"C:\tc-server-developer\pivotal-tc-server-standard-4.1.3.RELEASE\pivotal-tc-server\standard-4.1.3.RELEASE\tcserver.bat create z202-base-instance -v 9.0.36.B.RELEASE -t nio -t base --property base.runtime.user=null --java-home C:\java\java-14-openjdk-14.0.1.7-1.windows.redhat.x86_64". Check access permission for the directory C:/tc-server-developer/pivotal-tc-server-standard-4.1.3.RELEASE/pivotal-tc-server/standard-4.1.3.RELEASE and its files and subdirectories.
The instance creation command failed and returned code 1
Output of the instance creation command:
'create' command failed. An unexpected error occurred while attempting to validate tc Runtime Version 9.0.36.B.RELEASE: Connect to repo.pivotal.io:443 [repo.pivotal.io/54.164.122.42, repo.pivotal.io/34.232.37.107] failed: Connect timed out

I made sure that read-only is not set and all user have full control.

Any idea how to fix it?

[tc server 4.x] Existing server instances combo is always empty

tc server 4.0 server wizard is not showing any existing instances.It showing empty list.

tc_empty_list

I think, new directory structure for tc server 4.x is causing the issue.

TcServer21WizardFragment.java at lines 295-306
// add all directories that have a server configuration
File file = path.toFile();
if (file.exists()) {
File[] serverDirectories = file.listFiles();
if (serverDirectories != null) {
for (File directory : serverDirectories) {
if (directory.isDirectory() && new File(directory, ".tc-runtime-instance").exists()) {
serverNameCombo.add(directory.getName());
}
}

}
}

[tc server 4.x] Unable to start tc server 4.0.1

Unable to start the tc server 4.0.1 developer edition. Which has "ajp" server instance. Even for other templates also.

Wed Jun 20 13:42:07 IST 2018 ran with arguments: create test_instance -v 9.0.7.B.RELEASE -t ajp --java-home C:\Program Files\Java\jdk1.8.0_144

Server start is failing with timeout exception. I think, as per the log the actual server is starting. But, server status is not being updated on view.

See attached exception (Not related)
tc_server_Start_exception.txt

See attached SS

tc_server_fail1

tc_server_fail2

[TC Pivotal] Server name is empty when user configured with custom server name

STEPS:

  1. Server > New > Pivotal tc server 4.0
  2. Provide a custom server name > "TCPivotal4" > Next.
  3. Select Create new instance radio > Next.
  4. Select base Template and provide a name > Next
  5. Finish

Configure a new Pivotal TC server with version 4.0.1 and provide a custom name in Server Name field. It results in server configuration created with blank server name. Reproducible with Pivotal TC server version 3.2.13.

For new instance, we are not setting any new name if not default name. which was already empty.
See these code points
com.vmware.vfabric.ide.eclipse.tcserver.internal.ui.TcServer21InstanceCreationFragment.exit()
com.vmware.vfabric.ide.eclipse.tcserver.internal.ui.TcServer21InstanceCreationFragment.initialize()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.