Giter VIP home page Giter VIP logo

eclipse-integration-tcserver's People

Contributors

aclement avatar boykoalex avatar katesherwood avatar kdvolder avatar lak-proddev avatar leods avatar martinlippert avatar milesparker avatar zaza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eclipse-integration-tcserver's Issues

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)

[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()

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

[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] 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();
}

[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

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.

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?

Don't add MaxPermSize to VM arguments

MaxPermSize has been deprecated since Java 8. It used to simply cause a warning if it was present. However, now it prevents the VM from starting at all as it is now an unrecognized VM parameter. It would be nice if this integration didn't always add it in as a VM argument.

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.