- 浏览: 226520 次
- 性别:
- 来自: 沈阳
文章分类
- 全部博客 (105)
- java (30)
- linux unix (19)
- 版本控制 (15)
- ajax (2)
- 开发工具及辅助工具 (3)
- database (2)
- flex (10)
- 其它 (2)
- windows (1)
- 开源企业应用 (6)
- 开源erp (4)
- 开源cms (0)
- 开源门户 (0)
- php (1)
- ofbiz&opentaps (4)
- 运维管理 (0)
- MOQUI (3)
- linux unix mysql (0)
- mysql (2)
- hadoop (3)
- android (0)
- 微信公众号 (1)
- java cassandra nosql (0)
- Nosql (1)
- socket (1)
- tcp (1)
- udp (1)
- 十六进制 (1)
- ofbiz (1)
- docker (1)
- 虚拟化 (0)
- 分布式 (0)
最新评论
-
w87848608:
用phpunit --coverage-html命令一样出现了 ...
关于phpunit与Selenium取coverage的配置(原创) -
surpass_li:
好久没来这了,不好意思,你参照Deploying OFBiz ...
ofibz10.04部署到 jboss5.1.0成功 -
tide2046:
求部署文档。谢谢。
ofibz10.04部署到 jboss5.1.0成功 -
Romotc:
征文 +1,1楼的方法还是有点问题。
eclipse编译时过滤SVN版本控制信息方法 -
我改名了:
谢谢,收 藏 了,备用。
Java获取客户端真实IP地址的两种方法(转)
windows下 opentaps1.4安装(不断更新其他配置)
本帖最后由 102010cncger 于 2009/8/30 00:48 编辑
1.
下载
1.4
版本
http://downloads.sourceforge.net/project/opentaps/opentaps%201.4/opentaps-1.4-preview1.zip?use_mirror=ncu
2.
解压到系统
路径不带空格目录(能通过
cd
进入此目录,目录路径无空格)
3.
安装
jboss
4.
设置
javahome
和
jboss
路径
build-ear.properties
# set the location of your JVM here
JAVA_HOME=D\://Program Files//Java//jdk1.6.0_02
# set the location of your JBoss server
here
JBOSS_HOME=E\://jboss-5.1.0.GA
5.
打开
framework/entity/config/entityengine.xml
将所有数据
源改为默认那个localderby这里将不使用
Oracle
数据库
<delegator name="default" entity-model-reader="main"
entity-group-reader="main" entity-eca-reader="main"
distributed-cache-clear-enabled="false">
<group-map group-name="org.ofbiz" datasource-name="localderby"/>
<group-map group-name="org.opentaps.analytics" datasource-name="localderby"/>
<group-map group-name="org.opentaps.testing" datasource-name="localderby"/>
</delegator>
<delegator name="default-no-eca" entity-model-reader="main"
entity-group-reader="main" entity-eca-reader="main"
entity-eca-enabled="false" distributed-cache-clear-enabled="false">
<group-map group-name="org.ofbiz" datasource-name="localderby"/>
</delegator>
<delegator name="test" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
<group-map group-name="org.ofbiz" datasource-name="localderby"/>
</delegator>
<delegator name="other" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
<group-map group-name="org.ofbiz" datasource-name="localderby"/>
</delegator>
6.
第一次运行
cd C:\opentaps
ant run-install
。。。
[java] 2009-08-29 11:37:19,000 (main) [EntityDataLoadContainer.java:296:INF
O ] =-=-=-=-=-=-= Finished the data load with 15218 rows changed.
[java] 2009-08-29 11:37:19,015 (main) [
ContainerLoader.java:96 :INFO ]
Shutting down containers
BUILD SUCCESSFUL
Total time: 8 minutes 47 seconds
C:\opentaps>
最后出现表示安装成功
7.
非第一次运行
cd C:\opentaps
startofbiz.bat
或
cd C:\opentaps
java -jar ofbiz.jar
次方法可以直接看到输出信息,但没有启动参数
如果是第二次运行
启动
的时候,
ofbiz
的
DatabaseUtils
会检查数据库中是否已经存在系统的表,没有就会自动创建的,一般的创建过程不会出错误的。慢慢等吧
因为没有加到服务,关闭
cmd
窗口将关闭服务
8.
打开网页
For version 1.4: http://localhost:8080/opentaps
相关账户
·
http://localhost:8080/ecommerce
For the online store, use username DemoCustomer and password ofbiz .
·
http://localhost:8080/crmsfa
For CRM application, use DemoSalesManager and crmsfa .
·
http://localhost:8080/warehouse
For the warehouse application, use demowarehouse1 and opentaps .
·
http://localhost:8080/financials
For financials, use demofinadmin and opentaps .
·
http://localhost:8080/purchasing
For purchasing, use demopurch1 and opentaps .
·
http://localhost:8080/
partymgr
For administrative applications, use flexadmin and ofbiz
·
http://localhost:8080/analytics
Use username analytics
and password opentaps
to sign it to opentaps Analytics.
·
http://localhost:8080/catalog
·
http://localhost:8080/webtools
Admin,ofbiz
· ·
错误
1
注册没多久,不能传图片,呵呵。这里的错误就看不到了,反正是编译的时候通不过的问题。
解决
办法
C:\opentaps\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"/>
<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"/>
<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"/>
<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"/>
<jar
jarfile="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"
update="true" basedir="${build.dir}/classes "
includes="META-INF/aop.xml" />
<jar
jarfile="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"
update="true" basedir="${build.dir}/classes "
includes="META-INF/aop.xml" />
<jar
jarfile="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"
update="true" basedir="${build.dir}/classes "
includes="META-INF/aop.xml" />
<echo message="[build] =========== Done Building Aspect (Weave) =============="/>
</target>
修改其中
<jar
jarfile="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"
update="true" basedir="${build.dir}/classes/common"
includes="META-INF/aop.xml" />
<jar
jarfile="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"
update="true" basedir="${build.dir}/classes/common"
includes="META-INF/aop.xml" />
<jar
jarfile="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"
update="true" basedir="${build.dir}/classes/common"
includes="META-INF/aop.xml" />
错误
2
run-install:
[java] Error occurred during initialization of VM
[java] Could not create the Java virtual machine.
[java] Could not reserve enough space for object heap
[java] Java Result: 1
解决办法
修改
C:\opentaps\bulid.xml
<property name="memory.max.param" value="-Xmx1024M"/>
<property name="permmemory.max.param" value="-XX:MaxPermSize=512m"/>
该校就可以了
<property name="memory.max.param" value="-Xmx512M"/>
<property name="permmemory.max.param" value="-XX:MaxPermSize=64m"/>
If you have not already run the installation data
loading script, from the ofbiz home directory run "ant run-install" or
"java -jar ofbiz.jar install"
错误
3
Exception in thread "RMI RenewClean-[192.168.1.100:3250,org.ofbiz.service.rmi.so
cket.ssl.SSLClientSocketFactory@394ffa]" java.lang.OutOfMemoryError: Java heap s
pace
at com.sun.net.ssl.internal.ssl.InputRecord.<init>(InputRecord.java:65)
at com.sun.net.ssl.internal.ssl.AppInputStream.<init>(AppInputStream.jav
a:31)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.init(SSLSocketImpl.java:51
8)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:
351)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSoc
ketFactoryImpl.java:71)
at org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory.createSocket(
SSLClientSocketFactory.java:46)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198
)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.transport.DGCImpl_Stub.dirty(Unknown Source)
at sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.jav
a:342)
at sun.rmi.transport.DGCClient$EndpointEntry.access$1600(DGCClient.java:
153)
at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCCli
ent.java:555)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.jar.Manifest$FastInputStream.<init>(Manifest.java:315)
at java.util.jar.Manifest$FastInputStream.<init>(Manifest.java:310)
at java.util.jar.Manifest.read(Manifest.java:178)
at java.util.jar.Manifest.<init>(Manifest.java:52)
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:165)
at java.util.jar.JarFile.getManifest(JarFile.java:146)
at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:693)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:221)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at sun.reflect.annotation.AnnotationType$1.run(AnnotationType.java:86)
at sun.reflect.annotation.AnnotationType$1.run(AnnotationType.java:83)
at java.security.AccessController.doPrivileged(Native Method)
at sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:82)
at sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java
:66)
at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationPar
ser.java:202)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationP
arser.java:69)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationPa
rser.java:52)
at java.lang.reflect.Field.declaredAnnotations(Field.java:1016)
at java.lang.reflect.Field.getAnnotation(Field.java:1000)
at java.lang.reflect.AccessibleObject.isAnnotationPresent(AccessibleObje
ct.java:168)
at org.hibernate.annotations.common.reflection.java.JavaAnnotationReader
.isAnnotationPresent(JavaAnnotationReader.java:27)
at org.hibernate.annotations.common.reflection.java.JavaXAnnotatedElemen
t.isAnnotationPresent(JavaXAnnotatedElement.java:43)
at org.hibernate.cfg.AnnotationBinder.mustBeSkipped(AnnotationBinder.jav
a:1111)
解决办法,同样修改启动内存大小
,
将参数改小(我机器破)
C:\opentaps\startofbiz.bat
REM "%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -XX:MaxPermSize=64M -Duser.language=en -jar ofbiz.jar > runtime\logs\console.log
"%JAVA_HOME%\bin\java" -Xms512M -Xmx1024M -XX:MaxNewSize=128m -XX:MaxPermSize=256m
-Duser.language=en -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar
ofbiz.jar > runtime\logs\console.log
REM This one is for more of a debugging mode
REM "%JAVA_HOME%\bin\java"
-Xms512M -Xmx1024M -XX:MaxPermSize=128M -Duser.language=en -Xdebug
-Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar
ofbiz.jar > runtime\logs\console.log
错误
4
C:\opentaps>"D:\Java\jdk1.6.0_02\bin\java" -Xms256M -Xmx512M -XX:MaxPermSize=64M
-Duser.language=en -jar ofbiz.jar
1>runtime\logs\console.log
0 [main] INFO net.fckeditor.handlers.PropertiesLoader - User's properties loaded
successfully!
16 [main] INFO net.fckeditor.connector.ConnectorServlet - ConnectorServlet succe
ssful initialized!
Exception in thread "org.ofbiz.service.job.JobPoller@1bd9de3" java.lang.OutOfMem
oryError: PermGen space
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
PermGen space
的全称是
Permanent Generation space,
是指内存的永久保存区域
OutOfMemoryError: PermGen space
从表面上看就是内存益出,解决方法也一定是加大内存。说说为什么会内存益出:这一部分用于存放
Class
和
Meta
的信息
,Class
在被
Load
的时候被放入
PermGen space
区域,它和和存放
Instance
的
Heap
区域不同
,GC(Garbage Collection)
不会在主程序运行期对
PermGen space
进行清理,所以如果你的
APP
会
LOAD
很多
CLASS
的话
,
就很可能出现
PermGen space
错误。这种错误常见在
web
服务器
对
JSP
进行
pre compile
的时候。
改正方法,在
run.bat
中加入:
-Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m
因为项目
中引用了很多的
jar
包,而这些
jar
包中的
class
信息会被
JBoss
的
class loader
加载到
PermGen space
区域,在
JVM
默认的情况下,该部分空间的大小只有
4M
,在
jar
包非常多的情况下,显然是不够用的,所以通过
-XX:MaxPermSize=256m
指定最大值后即可解决问题。
另外,如果
heap
内存不足出现
java.lang.OutOfMemoryError: Java heap space
时,可以通过
-Xmx512m
指定最大
heap
内存来解决这样的问题
其他备注
(
查找
datasource-name
更改为
localoracle
查找
localoracle
修改
orcle配置
拷贝
orcle的驱动到
framework/entity/lib/jdbc
注意设置
Eclipse的
ant的
utf-8值
)
Ant启动可以选择
不同的方式。
set JAVA_HOME=D:\Java\jdk1.6.0_02
set PATH=%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
set CLASSPATH=.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar
C:\opentaps> java -jar ofbiz.jar -pos
cd C:\opentaps
java -jar ofbiz.jar -setup test
打包
10.
关掉
Tomcat
11.
在
DOS
命令行下(
C:\OpenbravoERP
\AppsOpenbravo
)
ant compile.complete
ant war
ant deploy
12.
把
Tomcat 5.5\webapps
下的
openbravo
文件
夹删掉
重启
Tomcat
OK
!
init
:官方垃圾安装说明
General Installation
PDF
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. 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.
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.
Signing In
For the back end web applications, such as catalog, order,
manufacturing, and facility managers, 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.
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.
Oracle
相关
理论上数据库可以是任何支持
jdbc
的数据库,我使用的是
oracle9
创建数据库的时候注意选择
utf-8
编码
3.1
建立
oracle
表空间
create tablespace ofbiz
datafile '
D:\oracle\product\10.2.0\oradata\ofbiz\ofbiz.dbf' size 2m
autoextend on next 2m maxsize unlimited;
3.2
建立用户
create user ofbiz
identified by ofbiz
default tablespace ofbiz;
grant connect,resource to ofbiz;
测试用户
connect ofbiz/ofbiz;
(用户所需权限为
grant
connect,resource
to javatest)
http://localhost:8080/webtools
try username: admin, password: ofbiz.
莫名其妙的
getTextContent
错误
发现
element居然用的是
tidy.jar的东西,删掉后再加上编译居然就不报问题了。郁闷
相关推荐
以下是根据提供的文件信息,详细解析在Windows下安装Opentaps所需的关键知识点: ### 1. 安装并配置JDK 首先,确保安装了JDK1.5或更高版本。在系统环境变量中设置`JAVA_HOME`指向JDK的安装目录,例如`E:\Program ...
WINDOWS下安装Opentaps1.5相关教程...全程指导...适合新手... Opentaps:开源的ERP,
这个压缩包文件包含了一系列文档,旨在帮助开发者和用户进行Opentaps的开发、安装、配置以及应用。 1. **安装文档.docx**: 这份文档详细阐述了如何在不同的操作系统上安装Opentaps。它可能涵盖了硬件和软件需求、...
### Openbravo 2.5在Windows XP下的安装与配置指南 #### 一、环境准备与配置 在开始安装Openbravo 2.5之前,我们需要先准备好一系列的基础软件及环境变量。 **1. 安装环境:** - **Oracle数据库:** 使用的是`win...
在Windows 7操作系统中安装...安装OpenTaps 1.5在Windows 7环境下需要一定的技术背景和耐心,但通过上述步骤,你应该能够成功完成安装。如果在安装过程中遇到任何问题,建议查阅官方文档或社区支持,以便获取更多帮助。
为了确保Opentaps1.5能在Windows环境下顺利安装并运行,首先需要正确安装Java Development Kit (JDK) 1.5或以上版本,并进行必要的系统环境变量配置。 1. **下载并安装JDK**: - 访问Oracle官网或其他可信来源下载...
OPENTAPS(Open Source Enterprise Transaction Processing System)是一个全面的开源企业解决方案,它集成了CRM(客户关系管理)、ERP(企业资源规划)以及其他关键业务功能,如供应链管理、财务管理和生产制造等。...
5. `setup`:包含了安装时的自动化配置脚本,用于生成配置文件或者迁移至外部的Tomcat服务器。 OpenTaps的这种模块化设计允许开发者根据需求轻松地添加、移除或修改功能,增强了系统的可扩展性和维护性。此外,其对...
1. **安装指南**:详细说明如何在不同的操作系统上安装和配置OpenTaps 0.9,包括硬件需求、数据库设置、服务器配置等步骤。 2. **用户手册**:为终端用户提供操作指南,解释如何使用OpenTaps的各种功能,如创建订单...
`widget`目录下存储的是OpenTaps的UI小部件定义,这些小部件用于构建用户界面,包括表格、表单和其他交互元素。开发者可以通过修改或创建新的小部件来定制用户交互体验。 `src`目录存放Java源代码,这是实现...
这是opentaps的安装过程介绍,包括mysql安装与设置,jdk的安装
【opentaps+ ofbiz】是一个集成的企业资源规划(ERP)和客户关系管理(CRM)系统,主要用于电子商务和在线业务管理。系统的核心组件包括产品管理、特性管理、分类管理、目录管理、店铺管理、订单处理、产品定价和...
热部署是Java EE应用服务器提供的一种便捷部署方式,允许开发者在不需要重启服务器的情况下部署新的或者更新已有的应用。在opentaps开发示例中,热部署被提及,这表明系统支持在开发过程中快速部署和测试新功能。 2...
**OpenTaps与Apache OfBiz架构详解** OpenTaps(Open Source Total Appliance for Professional Services)是一款基于Apache OfBiz的企业级开源商务套件,旨在提供全面的企业应用解决方案,包括CRM(客户关系管理)...
【标题】: "在 Ubuntu 服务器的 Vagrant VM 上...通过以上步骤,你可以在一个配置有 Java JRE 7 的 Ubuntu 服务器 Vagrant 虚拟机上成功安装并运行 OpenTaps 实例,为你的 ERP 和 CRM 需求提供一个灵活、可扩展的环境。
opentaps 所有表关联,HTML的。
把Opentaps Ajax框架.zip 改成Opentaps Ajax框架.txt 就可以看了,不需要解压。 博文链接:https://jiasudu.iteye.com/blog/150047
4. **Web服务**:opentaps可能利用SOAP或RESTful Web服务与其他系统集成,实现数据交换和API调用。 5. **模块化设计**:ERP和CRM系统的复杂性通常通过模块化设计来管理,每个模块负责特定的业务功能,如销售、采购...