Hudson Apache SVN Checkout Exception - 500 internal Server Error - apache

I'm hitting an error while trying to checkout an SVN Repo via Hudson.
With TortoiseSVN i can checkout this Repository without any Problems.
In Hudson I use the "Hudson Subversion Plug-in -2.3.8-h-1".
At the beginning I used this SVN Syntax: svn://url/repo
Now we changed our Repositories to VisualSVNManager and i hava following Syntax: http://url:81/svn/repo
My Hudson is running on an Apache Tomcat.
Error is:
Checking out http://url:81/svn/repo revision: 23.04.2013 11:25:59 depth:infinity ignoreExternals: false
ERROR: Failed to check out http://url:81/svn/repo
org.tmatesoft.svn.core.SVNException: svn: E175002: REPORT of '/svn/repo/!svn/vcc/default': 500 Internal Server Error (http://url:81)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getDatedRevision(DAVRepository.java:207)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:178)
at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:151)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:706)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:14)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:9)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)
at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:777)
at hudson.scm.subversion.CheckoutUpdater$UpdateTaskImpl.perform(CheckoutUpdater.java:111)
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:152)
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:160)
at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:114)
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:152)
at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:812)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:795)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:776)
at hudson.FilePath.act(FilePath.java:791)
at hudson.FilePath.act(FilePath.java:773)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:768)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:711)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1515)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:428)
at hudson.model.Run.run(Run.java:1390)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:40)
at hudson.model.ResourceController.execute(ResourceController.java:81)
at hudson.model.Executor.run(Executor.java:137)
Finished: FAILURE

As far as I remember wrong SVN version was that Problem had to change from 1.4 to 1.6.

Related

I am trying to apply a patch on one of the WebLogic servers but it throws me this error

I am trying to apply the following patch on below version of WebLogic-
WebLogic Server 12.2.1.1 - Patch 26519400
Opatch version - 13.9
I am getting the below error:
OPatch detects the Middleware Home as "D:\iAS_12c"
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following files are active :
UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: D:\iAS_12c\cfgtoollogs\opatch\opatch2022-11-18_14-42-41PM_1.l
og
OPatch failed with error code = 73
I am trying to apply a patch for vulnerabilities.

Exception while configuring sonarlint plugin with connected mode in eclipse

I am trying to install sonar lint plugin in my eclipse and configure it in 'Connected Mode'. The connection to sonarqube server is successful, but when it tries to download plugins from sonarqube server and store it my local storage it throws an exception.
Eclipse version: 2021-03 (4.19.0)
Sonar lint version: 7.5.0.54140
SonarQuber Server version: Developer Edition 9.4
[SYNC] Downloading plugin 'sonar-abap-plugin-3.10.0.3628.jar'
GET 200 http://sonarserverip:9000/api/plugins/download?plugin=abap | response time=40ms
Unable to synchronize local storage for connection 'sonarserverip'
org.sonarsource.sonarlint.core.serverconnection.storage.StorageException: Cannot save plugin sonar-abap-plugin-3.10.0.3628.jar in C:\eclipse\.sonarlint\storage\31302e3134312e392e313333\plugins
at org.sonarsource.sonarlint.core.serverconnection.storage.PluginsStorage.store(PluginsStorage.java:64)
at org.sonarsource.sonarlint.core.serverconnection.PluginsSynchronizer.lambda$downloadPlugin$1(PluginsSynchronizer.java:70)
at org.sonarsource.sonarlint.core.serverapi.plugins.PluginsApi.lambda$getPlugin$4(PluginsApi.java:57)
at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.lambda$consumeTimed$6(ServerApiHelper.java:251)
at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.processTimed(ServerApiHelper.java:226)
at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.consumeTimed(ServerApiHelper.java:250)
at org.sonarsource.sonarlint.core.serverapi.plugins.PluginsApi.getPlugin(PluginsApi.java:55)
at org.sonarsource.sonarlint.core.serverconnection.PluginsSynchronizer.downloadPlugin(PluginsSynchronizer.java:70)
at org.sonarsource.sonarlint.core.serverconnection.PluginsSynchronizer.downloadAll(PluginsSynchronizer.java:64)
at org.sonarsource.sonarlint.core.serverconnection.PluginsSynchronizer.synchronize(PluginsSynchronizer.java:56)
at org.sonarsource.sonarlint.core.serverconnection.LocalStorageSynchronizer.synchronize(LocalStorageSynchronizer.java:60)
at org.sonarsource.sonarlint.core.serverconnection.ServerConnection.sync(ServerConnection.java:131)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.sync(ConnectedSonarLintEngineImpl.java:291)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.sync(ConnectedEngineFacade.java:599)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.lambda$39(ConnectedEngineFacade.java:627)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.doWithEngine(ConnectedEngineFacade.java:208)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.autoSync(ConnectedEngineFacade.java:626)
at org.sonarlint.eclipse.ui.internal.job.PeriodicStoragesSynchronizerJob.run(PeriodicStoragesSynchronizerJob.java:60)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.net.SocketException: Connection reset
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at okio.Okio$2.read(Okio.java:140)
at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
at okio.RealBufferedSource.read(RealBufferedSource.java:51)
at okhttp3.internal.http1.Http1ExchangeCodec$AbstractSource.read(Http1ExchangeCodec.java:389)
at okhttp3.internal.http1.Http1ExchangeCodec$ChunkedSource.read(Http1ExchangeCodec.java:475)
at okhttp3.internal.connection.Exchange$ResponseBodySource.read(Exchange.java:286)
at okio.RealBufferedSource$1.read(RealBufferedSource.java:447)
at java.base/java.io.InputStream.read(InputStream.java:205)
at org.sonarsource.sonarlint.shaded.org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1309)
at org.sonarsource.sonarlint.shaded.org.apache.commons.io.IOUtils.copy(IOUtils.java:978)
at org.sonarsource.sonarlint.shaded.org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1282)
at org.sonarsource.sonarlint.shaded.org.apache.commons.io.IOUtils.copy(IOUtils.java:953)
at org.sonarsource.sonarlint.shaded.org.apache.commons.io.FileUtils.copyToFile(FileUtils.java:1043)
at org.sonarsource.sonarlint.shaded.org.apache.commons.io.FileUtils.copyInputStreamToFile(FileUtils.java:952)
at org.sonarsource.sonarlint.core.serverconnection.storage.PluginsStorage.store(PluginsStorage.java:52)
... 18 more
Any help would be much appreciated. Thanks in advance!

Internal server error when trying to build and deploy to AEM

My local AEM instance suddenly stopped working when I switched branches in git and installed the package with
mvn clean install -PautoInstallPackage.
The build failed with [ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Internal Server Error
My error log shows the following errors:
25.10.2018 11:52:33.607 *ERROR* [127.0.0.1 [1540504353564] POST /crx/packmgr/service.jsp HTTP/1.1] org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModule No IDP found with name 0654f74c177ec80b60f7922a9a6195cf. Will not be used for login.
25.10.2018 11:52:33.607 *ERROR* [127.0.0.1 [1540504353564] POST /crx/packmgr/service.jsp HTTP/1.1] org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModule No IDP found with name a9dea3b044e912071cbffd4839016d2e. Will not be used for login.
25.10.2018 12:00:30.005 *INFO* [sling-default-2-Registered Service.1079] com.adobe.granite.taskmanagement.impl.jcr.TaskArchiveService archiving tasks at: 'Thu Oct 25 12:00:30 HST 2018'
25.10.2018 12:00:58.610 *ERROR* [127.0.0.1 [1540504858546] POST /crx/packmgr/service.jsp HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
java.io.IOException: Unable to get component of class 'interface org.apache.sling.rewriter.Generator' with type 'htmlparser'.
I've tried adding <useProxy>false</useProxy> to my parent POM file as suggested on a similar thread posted here but that also did not work. I've tried recloning the repo and starting over but since it's a server error that did nothing.
Additional Info:
Running on Windows 10
AEM 6.4
Any assistance will be greatly appreciated.
Thanks!
Thanks for your help. The issue actually happened when I switched branches and installed and deployed the package over the existing package in AEM. By removing the quickstart folder and restarting the JAR file, thus creating a new AEM directory, I was able to install and deploy the correct branch without error.

How to make Sonar Scanner (Runner) find objc plugin

Currently, I'm setting up Sonarqube for objective-c project.
SonarQube : 5.4 (worked)
Sonar runner: 2.8
Sonar Plugin for Objective C : https://github.com/octo-technology/sonar-objective-c
but when I try to run sonar runner for the project then terminal said:
ERROR: Error during SonarQube Scanner execution
ERROR: You must install a plugin that supports the language 'objc'
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
ERROR - Command 'sonar-runner ' failed with error code: 1
Could you please give me some advice ?
I am not sure which version of SonarQube you are using but for SonarQube version 6.7(Latest), you can download Objective-C plugin from here and copy it to :
SONAR_HOME/extensions/plugins/
In my case it was /usr/local/Cellar/sonarqube/6.7.1/libexec/extensions/plugins/
Restart the SonarQube server and you're good to go.
It's an old issue but I hope this helps someone.

HttpHostConnectException let Apache Stanbol Integration Tests fail

I tried to install the Stanbol version from branch "release-0.12" from github.
On my system I have:
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-i386/jre
When I start the command:
mvn install
I get the following error for the Apache Stanbol Integration Tests => error-log
The first lines of the error are:
06.08.2014 15:47:02.025 *INFO * [main] Setting org.osgi.service.http.port=8765
06.08.2014 15:47:02.026 *INFO * [main] Starting launcher ...
06.08.2014 15:47:02.030 *INFO * [main] HTTP server port: 8765
15:47:03,614 INFO StanbolTestBase:163 - Got HttpHostConnectException at
http://localhost:8765/ - will retry
When I skiped the test I also got no response from the server...
I already tried it with java-version 1.6, but there I got the error:
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireJavaVersion failed
with message:
Java 7 or higher is required to compile this module
Has someone an idea what I made wrong (does it need some further software requirements)? Or how can I get the server running correctly?
The integration test starts a Stanbol Server (actually the full launcher) in its own JVM. The tests waits for up to 180 seconds for this server to start. During that time the test resends some test requests to check if the server is up and running.
Based on the provided log this period starts at about "15:47" so the test should wait until about "15:50" before it gives up.
Because of the line
^C15:48:42,236 INFO StanbolTestBase:146 - Got 404 at http://localhost:8765/entityhub - will retry
in the log my guess is that the build process was manually canceled with ^C before the server was fully started.
The server side logs of the test run are available at target/launchdir/stanbol/logs/error.log. If the integration tests do fail one will usually find the reason in this log file.