I have the following code in my build.properties file
### WebLogic ###
bea.home=${tool.home}/bea
# weblogic 8.1: Change weblogic.home
weblogic.home=${bea.home}/weblogic81
#weblogic.home=${bea.home}/weblogic92
#weblogic.home=${bea.home}/wlserver_10.3
weblogic.version=8.1
ejb.spec.version=3.0
But after running the tools.build file it is showing the following error:
BUILD FAILED
t:\DevEnv\3.1RC25\toolsetup.xml:22:
The following error occurred while executing this line:
t:\DevEnv\3.1RC25\toolsetup.xml:184: Property 'weblogic.8.1.root' is not defined.
I have checked and the weblogic is in the folder T:\bea\weblogic81\server\lib
Is this a problem regarding the wrong versions of weblogic as I have weblogic81 on my machine?
Related
I am new to SonarQube. I find the documents given in the portal has very less information about setting it up in Xcode/Objective-C. Can anyone help in instructions for Setting/Installing sonarQube scanner.
I use this below steps for Android project. I need the steps for iOS which I am not able to find
1. Copy sonar cube from LS Path : \\ipaddress\Mobility\LS\Tools\Sonar
2. Paste it in C:\Program Files (x86)\
3. Run sonar-runner
4. Set Environment variable path: C:\Program Files (x86)\sonar-runner-2.4\bin
5. Configure Project : Example :
sonar.projectName=
sonar.projectKey=
sonar.host.url=
sonar.sources=app/src/main/java/
sonar.login=
sonar.password=
sonar.projectVersion=
in sonar-project file.
6. Paste that file inside our project folder
7. Open command prompt and go to projectso path.
7. copy paste the following in command prompt:
sonar-scanner -Dsonar.sources=app/src -Dsonar.java.binaries=app/build/outputs/apk -Dsonar.java.libraries=app/libs/*.jar
I am getting the below error
ERROR: Error during SonarQube Scanner execution
org.sonarsource.scanner.api.internal.ScannerException: Unable to
execute SonarQube at
org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:84)
at
org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:71)
at java.base/java.security.AccessController.doPrivileged(Native
Method) at
org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:71)
at
org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:67)
at
org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:218)
at
org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:156)
at org.sonarsource.scanner.cli.Main.execute(Main.java:74) at
org.sonarsource.scanner.cli.Main.main(Main.java:61) Caused by:
java.lang.IllegalStateException: Fail to get bootstrap index from
server at
org.sonarsource.scanner.api.internal.Jars.getBootstrapIndex(Jars.java:100)
at
org.sonarsource.scanner.api.internal.Jars.getScannerEngineFiles(Jars.java:76)
at org.sonarsource.scanner.api.internal.Jars.download(Jars.java:70)
at
org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:39)
at
org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:75)
... 8 more Caused by: java.lang.IllegalStateException: Status
returned by url [http://ipaddress/batch/index] is not valid:
[407] at
org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)
at
org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:98)
at
org.sonarsource.scanner.api.internal.Jars.getBootstrapIndex(Jars.java:96)
... 12 more ERROR:
I'm trying to add ElasticSearch plugin in my Grails 3.1.6 project.
I installed plugin as:
dependencies {
//..
compile 'org.grails.plugins:elasticsearch:1.0.0.2'
//..}
And configured application.yml as
elasticSearch:
client:
node: local
datastoreImpl: hibernateDatastore
But when I try to run application, i'm getting error as below:
BUILD SUCCESSFUL
Total time: 5.118 secs
|Running application...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bootRun'.
> A problem occurred starting process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe''
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error |
Failed to start server (Use --stacktrace to see the full trace)
Process finished with exit code 1
I'm using IntellijIdea v2016 as IDE.
Would someone please help me to figure out the error spot please.
Thanks.
This isn't related to the plugin, it's a Boot/Gradle problem caused by having a classpath that causes the process to fail because the combined length of the process command is larger than the max Windows allows. This was fixed in 3.1.2 but you have to add a small config setting to build.gradle since it's not a problem in Linux or OSX:
grails {
pathingJar = true
}
See https://github.com/grails/grails-core/issues/9125 for more info.
I have build my project through "build-all" Ant Task and I have deployed the war file using the "install" ant task. After Deployment through this I was getting "No Runtime Environment Found" message on the screen. But After removing following JNDI entries in "server.xml" file the browse button appear on the screen:
<jndiEntry jndiName="MyProject/publicWorkLightProtocol" value='http'/>
<jndiEntry jndiName="MyProject/publicWorkLightPort" value='9080'/>
<jndiEntry jndiName="MyProject/ibm.worklight.admin.environmentid" value='WL_UAT_Config1'/>
Following message is also coming above browse button : FWLSE0023E: application 'myProjecy' not found, please redeploy. [project MyProject]
Then I tried to deployed my adapter and application files and Server is giving following errors on console :
[ERROR ] FWLSE0228E: Failed to deploy the application deployable. Reason: null [project MyProject]
[ERROR ] Preparation to deploy 'myProject' failed
java.lang.NullPointerException
[ERROR ] Result: MyProject: WL_UAT_Server///1.2.3.4: ApplicationDeploymentException:java.lang.NullPointerException
[ERROR ] Preparation to deploy adapter '' failed.
Missing xml file
[ERROR ] Result: MyProject: WL_UAT_Server///1.2.3.4: RuntimeException:Missing xml file
However, If I use this "server.xml" file and deploy the war using "deploy-war" ant task. Everything just works fine. Also, if I deploy everything on server through eclipse everything works fine. Let me know if you guys need any more info over this.
The class loader of the project WAR file is not set to parent last
<application context-root="/MyProject" id="MyProject" location="MyProject.war" name="MyProject" type="war">
<classloader commonLibraryRef="worklight-6.2.0">
<privateLibrary>
<fileset dir="${wlp.user.dir}/shared/resources" includes="org.hsqldb.hsqldb_2.2.5.jar"/>
</privateLibrary>
</classloader>
</application>
It should -- see https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.deploy.doc/admin/t_configuring_liberty_profile_manually.html
Ant tasks do install the hsqldb library, which is not listed in the supported software for Worklight http://www-01.ibm.com/support/docview.wss?uid=swg27024838 .... This file was probably crafted manually related to the Worklight Install part.
I am trying to import kxml2, what I did is I downloaded the lib, went to Project Explorer -> Properties -> Build Path -> Libraries, I include the kxml2-2.3.0.jar. I run compile and get this error
JAR file creation failed with error -1
The preverified classes if any are in tmp25754. See jar log of errors in C:\Users\sgil\AppData\Local\Temp\rapc_1296da5f.dir\jarlog.txt
Error!: Error: preverifier failed: C:\Program Files (x86)\Eclipse-Blackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components ...
Packaging project ** failed (took 0.795 seconds)
Error!: Error: preverifier failed: C:\Program Files (x86)\Eclipse-Blackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components ...
Packaging project ** failed (took 0.795 seconds)
I tried running the preverifier and I got this:
preverify -classpath "C:\Program Files (x86)\Eclipse-B
lackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\lib\net_ri
m_api.jar" "C:\Users\sgil\Desktop\Projects\Blackberry****\lib\kxml2-2.3.0.
jar"
I get this error:
JAR file creation failed with error -1
The preverified classes if any are in tmp25503. See jar log of errors in output\
jarlog.txt
Any advice?
The solution to this is to put the correct PATH variable in the "Enviromental Variables" of the System(right click in My PC->Enviromental Variables).
If "PATH" already exists you need to add the path of the BIN of the JDK installed on the Computer.
The carpet you should add this is the bin:
for example: C:\PATH_TO_THE_INSTALLED_JDK\bin
I am trying to run a sample project, but I am getting this error on the console and the app does not run.
I don't understand what this error means.
Packaging project ScheduleAir
C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\bin\rapc.exe -quiet codename=deliverables\Standard\4.5.0\scheduleair deliverables\Standard\4.5.0\scheduleair.rapc -sourceroot=C:\Documents and Settings\20041\workspace\ScheduleAir\src\com\intellisoft\schedule_air;C:\Documents and Settings\20041\workspace\ScheduleAir\src;C:\Documents and Settings\20041\workspace\ScheduleAir\res -import=C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\lib\net_rim_api.jar C:\Documents and Settings\20041\workspace\ScheduleAir\bin
Error preverifying class com.intellisoft.schedule_air.AppSettingScreen
VERIFIER ERROR com/intellisoft/schedule_air/AppSettingScreen.()V:
Illegal type in constant pool
Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\bin\preverify.exe -d C:\DOCUME ...
Packaging project ScheduleAir failed (took 0.437 seconds)
Could it be related to compiler target level in your Eclipse? For BB it should be set to 1.3, while by default Eclipse sets it to 1.5/1.6. Check "More detail on preverification errors ?" for details.
You must set JAVA_HOME in your system environment variables