- 浏览: 11733 次
- 性别:
- 来自: 深圳
文章分类
最新评论
-
deng1259070:
如果页面有flash怎么导出?
iText入门示例 -
slieer:
好好,很有价值。
iText入门示例 -
林维煜:
陈漫钿 写道
维煜,怎么熟熟滴!
那天晚上那几张资料在这里 ...
关于Oracle的几个分区 -
陈漫钿:
维煜,怎么熟熟滴!
关于Oracle的几个分区 -
林维煜:
bfox 写道
两点教训:)1.ie7下面不支持预览2. 图片 ...
图片上传
Installing opentaps ERP + CRM is fairly easy, and you do not need root user privileges. These instructions will help you get started running opentaps ERP + CRM on both Unix/Linux and Windows operating systems.
Prerequisites
The first step is to make sure that you have the correct Java Virtual Machine installed. For opentaps 0.8.x and 0.9.x, you must use Java 1.4.2. For opentaps 1.0.x, you must use Java 5. opentaps 1.4 works with both Java 5 or Java 6, though it is pre-compiled with Java 6. In both cases, you must use the Sun Java SDK, not GNU gcj which may have been supplied with Fedora Core or Ubuntu or the Java Runtime JRE supplied with Windows.
To determine what version of Java you are using, type the following command:
$ java -version
For opentaps 0.8.x and opentaps 0.9.x, you must see something like this: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_xxxx)
For opentaps 1.0.x, you must see something like the following: Java(TM) 2 RuntimeEnvironment, Standard Edition (build 1.5.xxxx)
You must not see anything like gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)
or anything that says "JRE".
If you do not see the correct JVM, you must go download it from Sun.
Next, you should unzip the opentaps ERP + CRM .zip file you have just downloaded and go into the directory where it is unzipped:
$ cd opentaps
Starting on Unix/Linux
If you are using a Unix/Linux system, you should make the startup scripts executable:
$ chmod u+x startofbiz.sh
$ chmod u+x stopofbiz.sh
IMPORTANT: If your system already has gcj and you just installed new Sun JVM, you must tell opentaps ERP + CRM to use the Sun JVM instead of the GCJ JVM in /bin/java by specifying where the JVM is:
$ export JAVA_HOME=/usr/java/j2sdk_xxxx/
(or whichever directory your Sun JVM was installed.) You can even put this directive into startofbiz.sh and stopofbiz.sh
To start the opentaps server,
$ ./startofbiz.sh
The server is started as a background process, and the logs are piped to a file called "console.log" in the logs/ sub-directory for opentaps 0.8.x and 0.9.x and runtime/logs sub-directory for opentaps 1.0.x To see the logs,
$ tail -f runtime/logs/console.log
or
$ tail -f logs/console.log
To stop the opentaps ERP + CRM server,
$ ./stopofbiz.sh
To start the Point Of Sales terminal, instead of using startofbiz.sh and stopofbiz.sh, use
$ java -jar ofbiz.jar -pos
Starting on Windows
IMPORTANT: If you are using Windows, you may run into problems with having paths with directories that have spaces in the name, such as "C:\Documents and Settings". You can avoid these problems by unzipping in your C:\ directory.
IMPORTANT: opentaps ERP + CRM runs as a server on your computer and needs to access a number of ports. If you are having start up problems, try re-configuring or temporarily disabling your firewall.
If you are using Windows, call up a command line terminal (Windows > Run Program > "cmd") From the terminal, go to your opentaps ERP + CRM directory
C:> cd c:\opentaps
You may need set a variable called JAVA_HOME first to tell Windows where Java is located:
C:> set JAVA_HOME=c:\java_x.x.x
Or which ever directory Java was installed in.
Now run the batch file to start the opentaps ERP + CRM server:
C:\opentaps> startofbiz.bat
The server will run in the terminal. Alternatively, you can create a Windows shortcut to the startofbiz.bat and place it on your desktop.
If you want to start the Point Of Sales system, use this command instead:
C:\opentaps> java -jar ofbiz.jar -pos
Mac OS X Users
A recent update to OS X 10.4.6 has made Java 5 the default JVM. To use Java 1.4.2 for opentaps 0.8.x or 0.9.x, set your JAVA_HOME to the correct path:
$ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
You can also use /Applications/Utilities/Java/J2SE 5.0/Java Preferences.app to set your preferred Java environment.
Accessing the Server
To access the opentaps ERP + CRM server, open any browser and type in the following:
For version 1.4: http://localhost:8080/opentaps
For version 1.0 and earlier: http://localhost:8080/
With opentaps 1.4, you will see a greeting page which prompts you to login. The applications you can access are displayed as icons:
In earlier versions of opentaps, you will see a menu in your browser which shows you all the applications available.
You can now click on the application you wish to access. If you are using an older version of Sequoia ERP, you will need to access the applications directly using:
http://locahost:8080/crmsfa/control/main
for CRMSFA or
http://localhost:8080/ecommerce/control/main
for the online store.
Signing In
For the back end web applications, use the username "admin" and the password "ofbiz".
For the ecommerce online store application, use username "DemoCustomer" and password "ofbiz".
For the Point Of Sales application, use username "1" and password "1" for a manager and username "2" and password "2" for a cashier.
Oh No! It Didn't Work! What Do I Do?
Look in your runtime/logs/console.log and runtime/logs/ofbiz.log (or simply logs/console.log or logs/ofbiz.log files for opentaps 0.8.x and 0.9.x) and see what error messages are recorded. Check that you are using the correct version, that your database connection is successful, that there were no port conflicts, and that none of the required ports are blocked.
Here are some specific issues and possible solutions:
Bad version number in .class file
This means that the Java virtual machine on your computer is different than the one that was used to compile opentaps. For example, your computer might have Java 5, and you may have downloaded opentaps 1.4, which was pre-compiled with Java 6.
To fix this, either download and install the same Java virtual machine SDK as was used to compile the copy of opentaps you obtained, or try to recompile opentaps using your computer's Java virtual machine with
ant
or
./ant
Cannot create the Java virtual machine
Your computer may not have the memory available to satisfy opentaps. Check the Hardware Guidelines for Opentaps and Recommended Memory Settings.
PermGen Space and other Memory Errors
See Recommended Memory Settings for possible changes to your start scripts.
Build Aspect class Errors
If you got "Unable to rename old file" build error, you can try to use follow line to replace the weave target on hot-deploy/opentaps-common/build-aspects.xml.
<!-- ================================================================== -->
<!-- Weave advice into target jars -->
<!-- ================================================================== -->
<target name="weave" depends="detect-dependencies" if="processRequired">
<echo message="[build] =========== Start Building Aspect (Weave) ============="/>
<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">
<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>
<jvmarg value="-Daspectwerkz.transform.filter=no"/>
<!-- <jvmarg value="-Daspectwerkz.transform.verbose=true"/> -->
<!-- <jvmarg value="-Daspectwerkz.transform.details=true"/> -->
<arg value="-verify"/>
<classpath refid="local.class.path" />
<classpath>
<pathelement path="${build.dir}/classes/common"/>
</classpath>
<!-- below is the jars to post-process -->
<arg value="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"/>
</java>
<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">
<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>
<jvmarg value="-Daspectwerkz.transform.filter=no"/>
<!-- <jvmarg value="-Daspectwerkz.transform.verbose=true"/> -->
<!-- <jvmarg value="-Daspectwerkz.transform.details=true"/> -->
<arg value="-verify"/>
<classpath refid="local.class.path" />
<classpath>
<pathelement path="${build.dir}/classes/common"/>
</classpath>
<!-- below is the jars to post-process, if these jar not effect each other you can put them in same pos, else please seperate them into another task -->
<arg value="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"/>
</java>
<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">
<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>
<jvmarg value="-Daspectwerkz.transform.filter=no"/>
<!-- <jvmarg value="-Daspectwerkz.transform.verbose=true"/> -->
<!-- <jvmarg value="-Daspectwerkz.transform.details=true"/> -->
<arg value="-verify"/>
<classpath refid="local.class.path" />
<classpath>
<pathelement path="${build.dir}/classes/common"/>
</classpath>
<!-- below is the jars to post-process -->
<arg value="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"/>
</java>
<jar jarfile="${lib.dir}/${name}.jar" update="true" basedir="${build.dir}/classes/common" includes="org/opentaps/aspect/secas/**" />
<!-- put aop.xml into target jar META-INF dir -->
<mkdir dir="${build.dir}/classes/META-INF" />
<copy file="${aopConfig}" tofile="${build.dir}/classes/META-INF/aop.xml" overwrite="true"/>
<!-- create new jar with aop.xml, then copy it to orign location, using these for avoid unable rename error on windows 64bit system-->
<zip destfile="${lib.dir}/ofbiz-entity.jar">
<zipfileset src="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"/>
<fileset dir="${build.dir}/classes/">
<include name="META-INF/aop.xml"/>
</fileset>
</zip>
<delete file="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar" failonerror="false"/>
<move file="${lib.dir}/ofbiz-entity.jar" tofile="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"/>
<zip destfile="${lib.dir}/ofbiz-common.jar">
<zipfileset src="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"/>
<fileset dir="${build.dir}/classes/">
<include name="META-INF/aop.xml"/>
</fileset>
</zip>
<delete file="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar" failonerror="false"/>
<move file="${lib.dir}/ofbiz-common.jar" tofile="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"/>
<zip destfile="${lib.dir}/ofbiz-order.jar">
<zipfileset src="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"/>
<fileset dir="${build.dir}/classes/">
<include name="META-INF/aop.xml"/>
</fileset>
</zip>
<delete file="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar" failonerror="false"/>
<move file="${lib.dir}/ofbiz-order.jar" tofile="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"/>
<echo message="[build] =========== Done Building Aspect (Weave) =============="/>
</target>
What to do if you get an RMIDispatcher Error
If you see an error message like this:
Exception in thread "main" java.lang.NoSuchMethodError: sun.rmi.transport.Object
Table.getStub(Ljava/rmi/Remote;)Ljava/rmi/server/RemoteStub; at org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject.unexportObject(JUnicastRemoteObject.java:138) at org.objectweb.carol.rmi.multi.JrmpPRODelegate.unexportObject(JrmpPRODelegate.java:94) at org.objectweb.carol.rmi.multi.MultiPRODelegate.unexportObject(MultiPRODelegate.java:132) at javax.rmi.PortableRemoteObject.unexportObject(Unknown Source) at org.objectweb.jotm.SubCoordinator.doAfterCompletion(SubCoordinator.java:1548)
You are experiencing a problem instantiating the RMI dispatcher. The RMI dispatcher is used to call remote services running on another instance of oopentaps. For demo purposes, you can usually turn this off by editing the file base/config/ofbiz-containers.xml and commenting out the <containers> for rmi-dispatcher and rmi-print-server.
What to do if you get a BSH Error
If you see this error message: java.lang.NoSuchMethodError: bsh.BshClassManager.createClassManager()Lbsh/BshClassManager; at org.ofbiz.base.util.BshUtil.getMasterInterpreter(BshUtil.java:124) at org.ofbiz.base.util.BshUtil.makeInterpreter(BshUtil.java:95) at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:144)
The problem is that your computer has another copy of beanshell (bsh.jar) installed in the Java class path. For example, OS X sometimes has a bsh.jar in /Library/Java/Extensions/ Simply move it out of the way and try again.
Keystore was tampered with, or password was incorrect on OS X
If you encounter this error message: Keystore was tampered with, or password was incorrect
It is actually a problem with Java 6 on OS X, and you can fix it by changing your keystore:
sudo keytool -keystore "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts" -storepasswd -new "changeit" Enter password: <your sudo password> Enter password: changeme
The new keystore password must be exactly "changeme". You do not need to modify the ofbiz-containers.xml file. Just restart opentaps after this.
Prerequisites
The first step is to make sure that you have the correct Java Virtual Machine installed. For opentaps 0.8.x and 0.9.x, you must use Java 1.4.2. For opentaps 1.0.x, you must use Java 5. opentaps 1.4 works with both Java 5 or Java 6, though it is pre-compiled with Java 6. In both cases, you must use the Sun Java SDK, not GNU gcj which may have been supplied with Fedora Core or Ubuntu or the Java Runtime JRE supplied with Windows.
To determine what version of Java you are using, type the following command:
$ java -version
For opentaps 0.8.x and opentaps 0.9.x, you must see something like this: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_xxxx)
For opentaps 1.0.x, you must see something like the following: Java(TM) 2 RuntimeEnvironment, Standard Edition (build 1.5.xxxx)
You must not see anything like gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)
or anything that says "JRE".
If you do not see the correct JVM, you must go download it from Sun.
Next, you should unzip the opentaps ERP + CRM .zip file you have just downloaded and go into the directory where it is unzipped:
$ cd opentaps
Starting on Unix/Linux
If you are using a Unix/Linux system, you should make the startup scripts executable:
$ chmod u+x startofbiz.sh
$ chmod u+x stopofbiz.sh
IMPORTANT: If your system already has gcj and you just installed new Sun JVM, you must tell opentaps ERP + CRM to use the Sun JVM instead of the GCJ JVM in /bin/java by specifying where the JVM is:
$ export JAVA_HOME=/usr/java/j2sdk_xxxx/
(or whichever directory your Sun JVM was installed.) You can even put this directive into startofbiz.sh and stopofbiz.sh
To start the opentaps server,
$ ./startofbiz.sh
The server is started as a background process, and the logs are piped to a file called "console.log" in the logs/ sub-directory for opentaps 0.8.x and 0.9.x and runtime/logs sub-directory for opentaps 1.0.x To see the logs,
$ tail -f runtime/logs/console.log
or
$ tail -f logs/console.log
To stop the opentaps ERP + CRM server,
$ ./stopofbiz.sh
To start the Point Of Sales terminal, instead of using startofbiz.sh and stopofbiz.sh, use
$ java -jar ofbiz.jar -pos
Starting on Windows
IMPORTANT: If you are using Windows, you may run into problems with having paths with directories that have spaces in the name, such as "C:\Documents and Settings". You can avoid these problems by unzipping in your C:\ directory.
IMPORTANT: opentaps ERP + CRM runs as a server on your computer and needs to access a number of ports. If you are having start up problems, try re-configuring or temporarily disabling your firewall.
If you are using Windows, call up a command line terminal (Windows > Run Program > "cmd") From the terminal, go to your opentaps ERP + CRM directory
C:> cd c:\opentaps
You may need set a variable called JAVA_HOME first to tell Windows where Java is located:
C:> set JAVA_HOME=c:\java_x.x.x
Or which ever directory Java was installed in.
Now run the batch file to start the opentaps ERP + CRM server:
C:\opentaps> startofbiz.bat
The server will run in the terminal. Alternatively, you can create a Windows shortcut to the startofbiz.bat and place it on your desktop.
If you want to start the Point Of Sales system, use this command instead:
C:\opentaps> java -jar ofbiz.jar -pos
Mac OS X Users
A recent update to OS X 10.4.6 has made Java 5 the default JVM. To use Java 1.4.2 for opentaps 0.8.x or 0.9.x, set your JAVA_HOME to the correct path:
$ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
You can also use /Applications/Utilities/Java/J2SE 5.0/Java Preferences.app to set your preferred Java environment.
Accessing the Server
To access the opentaps ERP + CRM server, open any browser and type in the following:
For version 1.4: http://localhost:8080/opentaps
For version 1.0 and earlier: http://localhost:8080/
With opentaps 1.4, you will see a greeting page which prompts you to login. The applications you can access are displayed as icons:
In earlier versions of opentaps, you will see a menu in your browser which shows you all the applications available.
You can now click on the application you wish to access. If you are using an older version of Sequoia ERP, you will need to access the applications directly using:
http://locahost:8080/crmsfa/control/main
for CRMSFA or
http://localhost:8080/ecommerce/control/main
for the online store.
Signing In
For the back end web applications, use the username "admin" and the password "ofbiz".
For the ecommerce online store application, use username "DemoCustomer" and password "ofbiz".
For the Point Of Sales application, use username "1" and password "1" for a manager and username "2" and password "2" for a cashier.
Oh No! It Didn't Work! What Do I Do?
Look in your runtime/logs/console.log and runtime/logs/ofbiz.log (or simply logs/console.log or logs/ofbiz.log files for opentaps 0.8.x and 0.9.x) and see what error messages are recorded. Check that you are using the correct version, that your database connection is successful, that there were no port conflicts, and that none of the required ports are blocked.
Here are some specific issues and possible solutions:
Bad version number in .class file
This means that the Java virtual machine on your computer is different than the one that was used to compile opentaps. For example, your computer might have Java 5, and you may have downloaded opentaps 1.4, which was pre-compiled with Java 6.
To fix this, either download and install the same Java virtual machine SDK as was used to compile the copy of opentaps you obtained, or try to recompile opentaps using your computer's Java virtual machine with
ant
or
./ant
Cannot create the Java virtual machine
Your computer may not have the memory available to satisfy opentaps. Check the Hardware Guidelines for Opentaps and Recommended Memory Settings.
PermGen Space and other Memory Errors
See Recommended Memory Settings for possible changes to your start scripts.
Build Aspect class Errors
If you got "Unable to rename old file" build error, you can try to use follow line to replace the weave target on hot-deploy/opentaps-common/build-aspects.xml.
<!-- ================================================================== -->
<!-- Weave advice into target jars -->
<!-- ================================================================== -->
<target name="weave" depends="detect-dependencies" if="processRequired">
<echo message="[build] =========== Start Building Aspect (Weave) ============="/>
<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">
<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>
<jvmarg value="-Daspectwerkz.transform.filter=no"/>
<!-- <jvmarg value="-Daspectwerkz.transform.verbose=true"/> -->
<!-- <jvmarg value="-Daspectwerkz.transform.details=true"/> -->
<arg value="-verify"/>
<classpath refid="local.class.path" />
<classpath>
<pathelement path="${build.dir}/classes/common"/>
</classpath>
<!-- below is the jars to post-process -->
<arg value="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"/>
</java>
<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">
<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>
<jvmarg value="-Daspectwerkz.transform.filter=no"/>
<!-- <jvmarg value="-Daspectwerkz.transform.verbose=true"/> -->
<!-- <jvmarg value="-Daspectwerkz.transform.details=true"/> -->
<arg value="-verify"/>
<classpath refid="local.class.path" />
<classpath>
<pathelement path="${build.dir}/classes/common"/>
</classpath>
<!-- below is the jars to post-process, if these jar not effect each other you can put them in same pos, else please seperate them into another task -->
<arg value="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"/>
</java>
<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">
<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>
<jvmarg value="-Daspectwerkz.transform.filter=no"/>
<!-- <jvmarg value="-Daspectwerkz.transform.verbose=true"/> -->
<!-- <jvmarg value="-Daspectwerkz.transform.details=true"/> -->
<arg value="-verify"/>
<classpath refid="local.class.path" />
<classpath>
<pathelement path="${build.dir}/classes/common"/>
</classpath>
<!-- below is the jars to post-process -->
<arg value="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"/>
</java>
<jar jarfile="${lib.dir}/${name}.jar" update="true" basedir="${build.dir}/classes/common" includes="org/opentaps/aspect/secas/**" />
<!-- put aop.xml into target jar META-INF dir -->
<mkdir dir="${build.dir}/classes/META-INF" />
<copy file="${aopConfig}" tofile="${build.dir}/classes/META-INF/aop.xml" overwrite="true"/>
<!-- create new jar with aop.xml, then copy it to orign location, using these for avoid unable rename error on windows 64bit system-->
<zip destfile="${lib.dir}/ofbiz-entity.jar">
<zipfileset src="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"/>
<fileset dir="${build.dir}/classes/">
<include name="META-INF/aop.xml"/>
</fileset>
</zip>
<delete file="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar" failonerror="false"/>
<move file="${lib.dir}/ofbiz-entity.jar" tofile="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"/>
<zip destfile="${lib.dir}/ofbiz-common.jar">
<zipfileset src="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"/>
<fileset dir="${build.dir}/classes/">
<include name="META-INF/aop.xml"/>
</fileset>
</zip>
<delete file="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar" failonerror="false"/>
<move file="${lib.dir}/ofbiz-common.jar" tofile="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"/>
<zip destfile="${lib.dir}/ofbiz-order.jar">
<zipfileset src="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"/>
<fileset dir="${build.dir}/classes/">
<include name="META-INF/aop.xml"/>
</fileset>
</zip>
<delete file="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar" failonerror="false"/>
<move file="${lib.dir}/ofbiz-order.jar" tofile="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"/>
<echo message="[build] =========== Done Building Aspect (Weave) =============="/>
</target>
What to do if you get an RMIDispatcher Error
If you see an error message like this:
Exception in thread "main" java.lang.NoSuchMethodError: sun.rmi.transport.Object
Table.getStub(Ljava/rmi/Remote;)Ljava/rmi/server/RemoteStub; at org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject.unexportObject(JUnicastRemoteObject.java:138) at org.objectweb.carol.rmi.multi.JrmpPRODelegate.unexportObject(JrmpPRODelegate.java:94) at org.objectweb.carol.rmi.multi.MultiPRODelegate.unexportObject(MultiPRODelegate.java:132) at javax.rmi.PortableRemoteObject.unexportObject(Unknown Source) at org.objectweb.jotm.SubCoordinator.doAfterCompletion(SubCoordinator.java:1548)
You are experiencing a problem instantiating the RMI dispatcher. The RMI dispatcher is used to call remote services running on another instance of oopentaps. For demo purposes, you can usually turn this off by editing the file base/config/ofbiz-containers.xml and commenting out the <containers> for rmi-dispatcher and rmi-print-server.
What to do if you get a BSH Error
If you see this error message: java.lang.NoSuchMethodError: bsh.BshClassManager.createClassManager()Lbsh/BshClassManager; at org.ofbiz.base.util.BshUtil.getMasterInterpreter(BshUtil.java:124) at org.ofbiz.base.util.BshUtil.makeInterpreter(BshUtil.java:95) at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:144)
The problem is that your computer has another copy of beanshell (bsh.jar) installed in the Java class path. For example, OS X sometimes has a bsh.jar in /Library/Java/Extensions/ Simply move it out of the way and try again.
Keystore was tampered with, or password was incorrect on OS X
If you encounter this error message: Keystore was tampered with, or password was incorrect
It is actually a problem with Java 6 on OS X, and you can fix it by changing your keystore:
sudo keytool -keystore "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/Contents/Home/lib/security/cacerts" -storepasswd -new "changeit" Enter password: <your sudo password> Enter password: changeme
The new keystore password must be exactly "changeme". You do not need to modify the ofbiz-containers.xml file. Just restart opentaps after this.
发表评论
-
sybase入库操作,十万条记录时间多长为合理范围?
2011-05-23 13:30 1223写了一个程序,包括文件解析(这个时间很短,几秒搞定)以及入库操 ... -
test2
2010-12-30 10:43 657hello, jericho -
flash player plugin
2010-09-20 11:35 781浏览器内播放flash插件 -
庭庭再算
2009-03-09 22:23 916该公司笔试题就1个,要求在10分钟内作完。 题目如下:用1、 ... -
小庭庭算法
2009-03-09 21:31 818题目:从一个数组中排序,按第一个最大,第二个最小,第三个是从数 ... -
Struts-Layout
2009-01-14 01:05 1423Struts-Layout 是我从 Open S ... -
iText入门示例
2009-01-13 19:45 1777前几天偶然在网上看到iText输出PDF格式这一技术,今 ... -
图片上传
2008-12-23 00:36 968此前,书写汽车俱乐部需求分析书时,我对会员基本信息中人头 ...
相关推荐
PassMark BurnInTest V5.3 Copyright (C) 1999-2008 PassMark Software All Rights Reserved http://www.passmark.com Overview ======== Passmark's BurnInTest is a software tool that allows all the major sub...
eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速...
最好用的单元测试工具,除了这里你是找不到9.0版本的破解的。 ... 独立的版本破解: ... 把lic_client.jar复制到 ... c:\Program Files (x86)\Parasoft\Test\9.0\plugins\...这个是:plugins-c++Test For Visual Studio.7z
c:\Program Files (x86)\Parasoft\C++test for Visual Studio\9.0\plugins\ 这个目录中 把plugins-Test for Virsual Studio.7z 中的文件覆盖到 c:\Program Files (x86)\Parasoft\Test for Visual Studio\9.0\...
Modeltest 使用说明 Modeltest 是一个选择核苷酸替代模型的软件,通过和 PAUP 配合使用,可以选择出合适的 MODEL,并同时计算出相关参数。下面是 Modeltest 的使用说明和相关知识点: 一、Modeltest 概述 * Model...
(speedtest服务器搭建教程) 本篇教程旨在指导读者搭建speedtest服务器,通过安装PHPStudy、配置WNMP和Nginx、下载并配置speedtest测速平台,实现本地测速功能。 一、 PHPStudy 安装和配置 PHPStudy 是一个集成...
### ECU-Test高级教程知识点解析 #### 一、ECU-Test概述 **ECU-Test**是一款专为汽车电子控制单元(ECU)开发与验证而设计的强大工具。它支持自动化测试流程,并能有效管理和控制整个测试环境,极大地提高了ECU开发...
Google Test是Google开发的一款强大的C++测试框架,它使得C++开发者能够编写单元测试和集成测试,以确保代码的质量和稳定性。本文档将详细介绍Google Test框架的使用方法,包括基本概念、断言、测试套件、测试用例、...
最好用的单元测试工具,除了这里你是找不到9.0版本的破解的。 ... 独立的版本破解: ... 把lic_client.jar复制到 ... c:\Program Files (x86)\Parasoft\Test\9.0\plugins\...这个是:( plugins-Test for Virsual Studio.7z )
Test Track Client 使用说明 Test Track 是一个功能强大且实用的BUG管理软件,能够帮助测试工程师、开发工程师、开发主管和项目管理人员等角色更好地管理和跟踪项目中的BUG。该软件具有强大的管理功能和灵活的配置...
Parasoft C++Test 9.5是一款由Parasoft公司开发的专业自动化白盒测试工具,专注于C++编程语言的测试。它集成了多种测试策略,包括静态代码分析、动态测试、单元测试、代码覆盖率分析以及缺陷预防等功能,旨在提高...
Test Bench是电子设计自动化(EDA)领域中的一个重要概念,主要用于验证数字集成电路的设计。在硬件描述语言(HDL,如Verilog或VHDL)中,Test Bench是模拟真实硬件环境来测试设计功能的一个虚拟平台。它能帮助...
CAN Test V2.53 软件使用说明 CAN Test V2.53 软件是一款功能强大且易用的CAN总线测试工具,旨在帮助用户快速地测试和诊断CAN总线设备。以下是CAN Test V2.53 软件使用说明的详细知识点: 软件安装 CAN Test 软件...
《全面解析BurnInTest 8.1:稳定性与性能测试的专业工具》 在IT领域,软件测试是确保产品质量的关键环节,尤其是硬件稳定性测试,对于硬件设备制造商和系统集成商而言至关重要。BurnInTest是一款广受好评的硬件稳定...
### ECU-TEST基本教程知识点概述 #### 一、ECU-TEST简介 ECU-TEST是一款由Vector公司开发的专业汽车电子控制单元(Electronic Control Unit, ECU)测试工具,它能够实现对ECU进行全面而深入的功能性测试,并且支持...
《Parasoft C++test 9.2官方用户手册_eclipse_中文版》是一本详尽的指南,专为使用C++test工具的开发者提供在Eclipse集成开发环境中的使用方法。C++test是一款强大的静态代码分析和单元测试工具,旨在提高C++软件的...
CANTest_Setup_V2.70.zip 是一个包含周立功CAN调试工具的软件安装包。这个工具主要用于汽车电子系统中的控制器局域网络(Controller Area Network, CAN)的测试和调试。CAN总线是一种广泛应用的多节点通信协议,尤其...
C++test简明操作手册 C++test是一款功能强大的测试工具,旨在帮助开发者编写高质量的代码。作为Parasoft公司的旗舰产品,C++test提供了全面的测试解决方案,涵盖了静态测试、动态测试、测试用例生成等多方面的测试...
**串口调试工具——PortTest详解** 在计算机通信领域,串行端口(Serial Port)是一种常见的硬件接口,用于设备间的通信。PortTest是一款专为串口调试设计的实用工具,它可以帮助用户检测和测试串口通讯功能,确保...