- 浏览: 229678 次
- 性别:
- 来自: 沈阳
-
文章分类
- 全部博客 (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是一项综合性的IT任务,涉及到多个步骤和组件的配置。以下是根据提供的文件信息,详细解析在Windows下安装Opentaps所需的关键知识点: ### 1. 安装并配置JDK 首先,确保安装了JDK1.5或...
嵌入式八股文面试题库资料知识宝典-华为的面试试题.zip
训练导控系统设计.pdf
嵌入式八股文面试题库资料知识宝典-网络编程.zip
人脸转正GAN模型的高效压缩.pdf
少儿编程scratch项目源代码文件案例素材-几何冲刺 转瞬即逝.zip
少儿编程scratch项目源代码文件案例素材-鸡蛋.zip
嵌入式系统_USB设备枚举与HID通信_CH559单片机USB主机键盘鼠标复合设备控制_基于CH559单片机的USB主机模式设备枚举与键盘鼠标数据收发系统支持复合设备识别与HID
嵌入式八股文面试题库资料知识宝典-linux常见面试题.zip
面向智慧工地的压力机在线数据的预警应用开发.pdf
基于Unity3D的鱼类运动行为可视化研究.pdf
少儿编程scratch项目源代码文件案例素材-霍格沃茨魔法学校.zip
少儿编程scratch项目源代码文件案例素材-金币冲刺.zip
内容概要:本文深入探讨了HarmonyOS编译构建子系统的作用及其技术细节。作为鸿蒙操作系统背后的关键技术之一,编译构建子系统通过GN和Ninja工具实现了高效的源代码到机器代码的转换,确保了系统的稳定性和性能优化。该系统不仅支持多系统版本构建、芯片厂商定制,还具备强大的调试与维护能力。其高效编译速度、灵活性和可扩展性使其在华为设备和其他智能终端中发挥了重要作用。文章还比较了HarmonyOS编译构建子系统与安卓和iOS编译系统的异同,并展望了其未来的发展趋势和技术演进方向。; 适合人群:对操作系统底层技术感兴趣的开发者、工程师和技术爱好者。; 使用场景及目标:①了解HarmonyOS编译构建子系统的基本概念和工作原理;②掌握其在不同设备上的应用和优化策略;③对比HarmonyOS与安卓、iOS编译系统的差异;④探索其未来发展方向和技术演进路径。; 其他说明:本文详细介绍了HarmonyOS编译构建子系统的架构设计、核心功能和实际应用案例,强调了其在万物互联时代的重要性和潜力。阅读时建议重点关注编译构建子系统的独特优势及其对鸿蒙生态系统的深远影响。
嵌入式八股文面试题库资料知识宝典-奇虎360 2015校园招聘C++研发工程师笔试题.zip
嵌入式八股文面试题库资料知识宝典-腾讯2014校园招聘C语言笔试题(附答案).zip
双种群变异策略改进RWCE算法优化换热网络.pdf
内容概要:本文详细介绍了基于瞬时无功功率理论的三电平有源电力滤波器(APF)仿真研究。主要内容涵盖并联型APF的工作原理、三相三电平NPC结构、谐波检测方法(ipiq)、双闭环控制策略(电压外环+电流内环PI控制)以及SVPWM矢量调制技术。仿真结果显示,在APF投入前后,电网电流THD从21.9%降至3.77%,显著提高了电能质量。 适用人群:从事电力系统研究、电力电子技术开发的专业人士,尤其是对有源电力滤波器及其仿真感兴趣的工程师和技术人员。 使用场景及目标:适用于需要解决电力系统中谐波污染和无功补偿问题的研究项目。目标是通过仿真验证APF的有效性和可行性,优化电力系统的电能质量。 其他说明:文中提到的仿真模型涉及多个关键模块,如三相交流电压模块、非线性负载、信号采集模块、LC滤波器模块等,这些模块的设计和协同工作对于实现良好的谐波抑制和无功补偿至关重要。
内容概要:本文探讨了在工业自动化和物联网交汇背景下,构建OPC DA转MQTT网关软件的需求及其具体实现方法。文中详细介绍了如何利用Python编程语言及相关库(如OpenOPC用于读取OPC DA数据,paho-mqtt用于MQTT消息传递),完成从OPC DA数据解析、格式转换到最终通过MQTT协议发布数据的关键步骤。此外,还讨论了针对不良网络环境下数据传输优化措施以及后续测试验证过程。 适合人群:从事工业自动化系统集成、物联网项目开发的技术人员,特别是那些希望提升跨协议数据交换能力的专业人士。 使用场景及目标:适用于需要在不同通信协议间建立高效稳定的数据通道的应用场合,比如制造业生产线监控、远程设备管理等。主要目的是克服传统有线网络限制,实现在不稳定无线网络条件下仍能保持良好性能的数据传输。 其他说明:文中提供了具体的代码片段帮助理解整个流程,并强调了实际部署过程中可能遇到的问题及解决方案。
基于C#实现的检测小说章节的重复、缺失、广告等功能+源码+项目文档,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用,详情见md文档 基于C#实现的检测小说章节的重复、缺失、广告等功能+源码+项目文档,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用,详情见md文档~ 基于C#实现的检测小说章节的重复、缺失、广告等功能+源码+项目文档,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用,详情见md文档 基于C#实现的检测小说章节的重复、缺失、广告等功能+源码+项目文档,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用,详情见md文档 基于C#实现的检测小说章节的重复、缺失、广告等功能+源码+项目文档,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用,详情见md文档 基于C#实现的检测小说章节的重复、缺失、广告等功能+源码+项目文档,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用,详情见md文档