spring-projects / eclipse-integration-tcserver Goto Github PK
View Code? Open in Web Editor NEWEclipse Integration for vFabric tc Server
License: Eclipse Public License 1.0
Eclipse Integration for vFabric tc Server
License: Eclipse Public License 1.0
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)
STEPS:
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()
Summary:
Downloading the pivotal-tc-server-developer version greater than 4.0.9 and loading it to STS leads to this error message.
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.0 server wizard is not showing any existing instances.It showing 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());
}
}
}
}
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
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();
}
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
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.
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.