Codename one build error - java

I've reached such a problem yesterday:
I'm trying to build an app on the server, but I'm getting this error:
[codeNameOne] java.io.IOException: An upload error occured - check
that you have enough build credits on the server ... BUILD FAILED
/home/arsenii/Code/IDE workspaces/own_workspace/EGuide/build.xml:452:
Error in server build process"
I have't compiled apps this month yet.
What it could be, and why?
Thank you in advance.
IDE: Eclipse
Desktop OS - Ubuntu 12.04

Check your proxy setting and whether you might have a communication issue.
Check if there is a more detailed stack.
Make sure you are using Java 7.

I had exactly the same issue as this and it was because I had changed the ant build file so that it was setting the java source and java target to 1.7 and not the default 1.5.
It seems that the build server doesn't like anything above 1.5

Related

How do I install Pentaho BI CE on windows?

I'm sure this has a relatively simple answer -_- , but I keep getting a ton of errors and I have no idea why.
Here is the guide I am following:
http://akbarahmed.com/2012/05/12/install-pentaho-bi-server-4-5-on-windows-7-x64/
I am using Java 1.8.0.05, and biserver-ce-5.0.1-stable
When I run start-pentaho.bat, and the Tomcat window opens, I get a whole host of errors.
If I go to localhost:8080/pentaho, I get the following errors:
One or more system listeners failed. These are set in the systemListeners.xml.
org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 -
Error while trying to execute startup sequence for
org.pentaho.platform.repository2.unified.BackingRepositoryLifecycleManagerSystemListener
I have gone through this entire process 3 times, but nothing seems to work.
There are 3 things you have to take care of:
When running on windows, it is easy to run into Windows' path-length limitation. This then will break the jar-loading which in return gives you random errors as the Tomcat server cannot find the classes contained in these jars. So when you install, do not install it deep into a directory, keep it at the root of your disk. From hard experience, I now always install it in DRIVE:\Pentaho
The Server will not run without the system database. If your logs show you a Quartz-Error, or a Hibernate error, then your HSQL database is not running. In the download, you'll find a "data" directory. Start the "start-hypersonic.bat" before you start the main Pentaho server.
Pentaho does not run with Java 8. There seem to be some incompatible changes in the JDK and I have not been able to actually start it up correctly. You have to use JDK 1.7 to be successful. ALso make sure that your JAVA_HOME or PENTAHO_JAVA_HOME points to the correct JDK.
The Pentaho bat files try to locate a Java installation automatically, and without explicitly setting these environment variables, any JDK may be picked up at random. Usually that is the last JDK that has been installed or updated. So to be safe, lock down the JDK by setting these variables (via Control Panel-> System -> Advanced System Settings -> Environment Variables)
You need to check the catalina.out and pentaho.log files (both should be at biserver-ce/tomcat/logs).
They'll give you more detail on why the server is not starting.
I was having the same error when I installed Java 8 and even after I reinstall Java 7 without removing Java 8 completely.
Remove all Java installations, then you install Java SDK 7
Set the environment variable PENTAHO_JAVA_HOME as your Java 7 path
Then you reboot your computer
Then you start Pentaho BI Server
Hope this help you.
BTW, don't use IE or Safari.

Error during Installing WAS 6 : createprocess failed

I'm tried to install Websphere application Server Version 6 for one development project, and when I start the installation I got the error message that.
the JVM is not correct and i should start the installation using -is:javahome <Java_home_DIR> Createprpocess ==> failed.
The problem is, at my computer I have the java sdk 1.4.2 installed and java_home is set correctly. The system could not find the file.
What I need to do to solve this problem, or someone knows why I'm getting this message?
WAS Server has own java runtime environment. IBM has own version of JRE and JDK.
All installation packages are referencing to internal JRE.

Error installing JDK

I got following error while installing JDK 1.7 on windows 8.
"Error 1335. The cabinet file 'st170510.cab' required for this
installation is corrupt and cannot be used. This could indicate a
network error, an error reading from the CD-ROM, or a problem with
this package."
I have downloaded latest version of JDK from oracle foundation. previously JDK 1.6 was installed on my pc. I uninstalled it and tried to install this version and met this error.
For further information, I have already installed JRE 1.7 on my system.
Error:
"Error 1335. The cabinet file 'st170510.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package."
is not because of Issue in JDK setup or as such.
Some of the reasons may be:
Some research suggests that this problem may arise because of bad RAM.
Source - https://forum.openoffice.org/en/forum/viewtopic.php?f=15&t=65872
This is a Windows Installer error that may occur for different cabinet file names located on the installation media (usually on CD).
Source - error-1335-the-cabinet-file-filecab-required-for-this-installation-is-corrupt-and-cannot-be-used-this-could-indicate-a-network-error-an-error-reading-from-the-cd-rom-or-a-problem-with-this-package
Can be caused by User Access Control.
Source - http://www.symantec.com/connect/forums/error-error-1335the-cabinet-file-data1cab-required-installation-corrupt-and-cannot-be-used-co
Corrupted installer caused by a firewall or virus software running on your computer.
Source - http://www.tomshardware.com/forum/7992-63-error-1335-help
Occur when the installer is unable to access the necessary files from the DVD/CD-ROM drive.
Source - http://helpx.adobe.com/creative-suite/kb/install-error-1311-1335-or.html
Each link has its own list of steps to resolve the Issue.
Not sure what may be causing Issue in your case.
You can try different solutions and see if any one can help.
Thanks!!
I think it has something to do with Windows "unblock" feature. (Rich click on file, select "unblock")
We had this issue before when we downloaded a Zip file, extracted an installed, and ran it - it failed - we had to unblock the file first - we also noticed that extracted elements were also "blocked" as well.
Java Install >>- On downloading using windows, file transfer speed was fast until the very end. then it seemed to stall.
Any attempt to install from these files produced errors and a fail.
Fix >>- I then downloaded it using a MAC and then transferred the files back to the windows box and did the install again.
This time it was perfect - no errors - good install.
Rob
I was installing Oracle Java 8 JDK (version 111) on a Windows 10 machine. I got the same error as described in the question.
I disabled windows defender (all checkboxes to off), downloaded the file, went to its properties clicked unblock and apply. Then the JDK installed fine.
I had the same problem. After reading all the answers, I concluded that the downloaded .exe file was getting corrupt each time I download. Initially I used Internet Edge for the download (like 5 times) and I had the problem every time. The problem got solved when I switched to chrome browser, downloaded and installed again.
I faced the same problem, but with 1.8 on windows 7 (tried with jdk8u91 and jdk8u92). None of the other solutions here worked, but unchecking the "source code" and "public jre" options caused the error to not occur. Not a complete solution if you need the source code - the jre is available separately anyway - but it got me through the installer, and the jdk seems functional.
When you meet this problem ,you compare the two files with WinMD5Free after downloading them.
At first I used chrome and IDM to download the JDK files and always met with an error although I changed other versions many times.
Hence I use Firefox download the JDK file and problems are resolved.
^_^
OS: Windows 10 Pro
Java: 10.0.1
When trying to run the JDK installer from the "Downloads" folder I kept running into the same error (only different .cab file). I tried running as admin, different compatibility mode, scanning with the Windows scanner. Nothing helped.
Then I just downloaded to Desktop. I ran it as Administrator and Java installed without any problem.

Android Eclipse Exit Code=15

I accidentally closed eclipse when I was sending my application to run on my phone, and when I went to open it I got the following error:
Java was started but returned exit code= 15
C:\windows\system32\javaw.exe
Dogsi.requiredJavaVersion=1.6
I have tried restarting my computer but it didn't change this message. I have been using eclipse for a while, and have never seen this error before.
How can I resolve this error?
EDIT:
I ended up just reinstalling eclipse.
It sounds like eclipse didn't get a chance to save its configuration properly while quitting, and now the configuration is invalid when attempting to open.
Please see https://stackoverflow.com/questions/18059686/jdk-error-while-running-eclipse-on-windows-7 and Running Eclipse on Windows 7 JRE and JDK not found . Alternatively, just reinstall the jre and ecipse, but if you don't want to do that, then you're going to have to fiddle with eclipse configuration.

Google app engine demo app jsp page creates 500 error

Hello I am trying out Google app engine and eclipse. I ihave installed the google plug in and have copied the code in the demo exactly. I saw a similar question posted here and I tried the solution of making sure the JDK was checked instead of JRE. I am using the guestbook demo for java and when I get to the part where I add the jsp page I am still getting this error :
HTTP ERROR 500
Problem accessing /. Reason:
Error running javac.exe compiler
Caused by:
Error running javac.exe compiler
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:509)
at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:61)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1065)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:882)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
You may have run the ant target before switching JRE to JDK so the launch configuration is old and refers to the JRE which doesn't have a javac.exe.
Try opening the launch configuration (by selecting the Run As... menu entry - the dots are important), and verify that this Java Runtime points to the JDK also. This should fix it. Also verify that you actually have switched the JRE correctly for all of Eclipse in the Preferences.

Categories