使用ubuntu 12.04和Oracle JDK 7
按照此安装说明
我已经检查了Java版本要求和$Java_HOME
santi@one:~$ echo $JAVA_HOME
/home/santi/a/jdk1.7.0_60
我已经从这里下载并提取了卡拉夫3.0.1
启动服务器时
santi@one:~$ cd apache-karaf-3.0.1/bin
santi@one:~/apache-karaf-3.0.1/bin$ ./start
他们说:
您应该在命令行控制台上看到以下信息:
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (3.0.0)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
karaf@root()>
我所看到的:
santi@one:~/apache-karaf-3.0.1/bin$
什么日志说:
Jun 21, 2014 3:51:54 AM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Trying to lock /home/santi/a/apache-karaf-3.0.1/lock Jun 21, 2014 3:51:54 AM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Lock acquired Jun 21, 2014 3:51:54 AM org.apache.karaf.main.Main$KarafLockCallback lockAquired INFO: Lock acquired. Setting startlevel to 100 2014-06-21 03:51:54,604 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/jmx.acl.org.apache.karaf.security.jmx.cfg 2014-06-21 03:51:54,618 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.command.acl.system.cfg 2014-06-21 03:51:54,630 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/jmx.acl.org.apache.karaf.bundle.cfg 2014-06-21 03:51:54,641 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.features.repos.cfg 2014-06-21 03:51:54,651 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.ops4j.pax.logging.cfg 2014-06-21 03:51:54,660 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/jmx.acl.java.lang.Memory.cfg 2014-06-21 03:51:54,669 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.felix.fileinstall-deploy.cfg 2014-06-21 03:51:54,676 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.ops4j.pax.url.mvn.cfg 2014-06-21 03:51:54,681 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.command.acl.kar.cfg 2014-06-21 03:51:54,687 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.shell.cfg 2014-06-21 03:51:54,694 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.features.cfg 2014-06-21 03:51:54,702 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.command.acl.shell.cfg 2014-06-21 03:51:54,711 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/jmx.acl.org.apache.karaf.config.cfg 2014-06-21 03:51:54,719 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.jaas.cfg 2014-06-21 03:51:54,726 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.log.cfg 2014-06-21 03:51:54,733 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.features.obr.cfg 2014-06-21 03:51:54,740 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.command.acl.feature.cfg 2014-06-21 03:51:54,745 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.command.acl.jaas.cfg 2014-06-21 03:51:54,750 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.kar.cfg 2014-06-21 03:51:54,756 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/jmx.acl.osgi.compendium.cm.cfg 2014-06-21 03:51:54,762 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.command.acl.config.cfg 2014-06-21 03:51:54,768 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/jmx.acl.cfg 2014-06-21 03:51:54,774 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.command.acl.bundle.cfg 2014-06-21 03:51:54,780 | INFO | FelixStartLevel | fileinstall | 11 - org.apache.felix.fileinstall - 3.2.8 | Installed /home/santi/a/apache-karaf-3.0.1/etc/org.apache.karaf.management.cfg 2014-06-21 03:51:57,004 | INFO | FelixStartLevel | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.features.command is waiting for namespace handlers [http://karaf.apache.org/xmlns/shell/v1.1.0] 2014-06-21 03:51:57,039 | INFO | FelixStartLevel | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.shell.console is waiting for dependencies [(objectClass=org.apache.felix.service.command.CommandProcessor), (objectClass=org.apache.felix.service.threadio.ThreadIO)] 2014-06-21 03:51:57,059 | INFO | FelixStartLevel | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.jaas.modules is waiting for namespace handlers [http://karaf.apache.org/xmlns/jaas/v1.0.0] 2014-06-21 03:51:57,204 | INFO | FelixStartLevel | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.bundle.command is waiting for namespace handlers [http://karaf.apache.org/xmlns/shell/v1.1.0] 2014-06-21 03:51:57,353 | INFO | FelixStartLevel | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.shell.help is waiting for dependencies [(objectClass=org.apache.felix.service.threadio.ThreadIO)] 2014-06-21 03:51:57,396 | INFO | FelixStartLevel | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.system.command is waiting for namespace handlers [http://karaf.apache.org/xmlns/shell/v1.1.0] 2014-06-21 03:51:57,416 | INFO | FelixStartLevel | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.shell.commands is waiting for namespace handlers [http://karaf.apache.org/xmlns/shell/v1.1.0] 2014-06-21 03:51:57,471 | INFO | FelixStartLevel | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.config.command is waiting for namespace handlers [http://karaf.apache.org/xmlns/shell/v1.1.0] 2014-06-21 03:51:57,485 | INFO | rint Extender: 1 | BlueprintContainerImpl | 19 - org.apache.aries.blueprint.core - 1.4.0 | Bundle org.apache.karaf.shell.console is waiting for dependencies [(objectClass=org.apache.felix.service.command.CommandProcessor)] 2014-06-21 03:51:57,689 | INFO | rint Extender: 2 | SecuredCommandConfigTransformer | 37 - org.apache.karaf.shell.console - 3.0.1 | Generating command ACL config org.apache.karaf.command.acl.kar into service ACL configs [org.apache.karaf.service.acl.command.kar.install, org.apache.karaf.service.acl.command.kar.uninstall] 2014-06-21 03:51:57,707 | INFO | rint Extender: 2 | SecuredCommandConfigTransformer | 37 - org.apache.karaf.shell.console - 3.0.1 | Generating command ACL config org.apache.karaf.command.acl.config into service ACL configs [org.apache.karaf.service.acl.command.config.property-set, org.apache.karaf.service.acl.command.config.delete, org.apache.karaf.service.acl.command.config.cancel, org.apache.karaf.service.acl.command.config.update, org.apache.karaf.service.acl.command.config.property-delete, org.apache.karaf.service.acl.command.config.property-append, org.apache.karaf.service.acl.command.config.edit] 2014-06-21 03:51:57,755 | INFO | rint Extender: 2 | SecuredCommandConfigTransformer | 37 - org.apache.karaf.shell.console - 3.0.1 | Generating command ACL config org.apache.karaf.command.acl.feature into service ACL configs [org.apache.karaf.service.acl.command.feature.uninstall, org.apache.karaf.service.acl.command.feature.install] 2014-06-21 03:51:57,778 | INFO | rint Extender: 2 | SecuredCommandConfigTransformer | 37 - org.apache.karaf.shell.console - 3.0.1 | Generating command ACL config org.apache.karaf.command.acl.bundle into service ACL configs [org.apache.karaf.service.acl.command.bundle.install, org.apache.karaf.service.acl.command.bundle.uninstall, org.apache.karaf.service.acl.command.bundle.update, org.apache.karaf.service.acl.command.bundle.restart, org.apache.karaf.service.acl.command.bundle.start, org.apache.karaf.service.acl.command.bundle.stop, org.apache.karaf.service.acl.command.bundle.watch, org.apache.karaf.service.acl.command.bundle.refresh] 2014-06-21 03:51:57,806 | INFO | rint Extender: 2 | SecuredCommandConfigTransformer | 37 - org.apache.karaf.shell.console - 3.0.1 | Generating command ACL config org.apache.karaf.command.acl.shell into service ACL configs [org.apache.karaf.service.acl.command.shell.java, org.apache.karaf.service.acl.command.shell.edit, org.apache.karaf.service.acl.command.shell.exec, org.apache.karaf.service.acl.command.shell.new] 2014-06-21 03:51:57,817 | INFO | rint Extender: 2 | SecuredCommandConfigTransformer | 37 - org.apache.karaf.shell.console - 3.0.1 | Generating command ACL config org.apache.karaf.command.acl.system into service ACL configs [org.apache.karaf.service.acl.command.system.start-level, org.apache.karaf.service.acl.command.system.shutdown, org.apache.karaf.service.acl.command.system.property] 2014-06-21 03:51:57,822 | INFO | rint Extender: 2 | SecuredCommandConfigTransformer | 37 - org.apache.karaf.shell.console - 3.0.1 | Generating command ACL config org.apache.karaf.command.acl.jaas into service ACL configs [org.apache.karaf.service.acl.command.jaas.update] 2014-06-21 03:51:59,391 | INFO | FelixStartLevel | RegionsPersistenceImpl | 65 - org.apache.karaf.region.persist - 3.0.1 | Loading region digraph persistence 2014-06-21 03:52:00,076 | INFO | FelixStartLevel | SecurityUtils | 41 - org.apache.sshd.core - 0.9.0 | BouncyCastle not registered, using the default JCE provider 2014-06-21 03:52:01,285 | INFO | FelixStartLevel | core | 74 - org.apache.aries.jmx.core - 1.1.1 | Starting JMX OSGi agent 2014-06-21 03:52:01,345 | INFO | FelixStartLevel | core | 74 - org.apache.aries.jmx.core - 1.1.1 | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=06aa4be9-033a-494b-9616-53dfd119166e] for service with service.id [13] 2014-06-21 03:52:01,358 | INFO | JMX OSGi Agent | core | 74 - org.apache.aries.jmx.core - 1.1.1 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@588980b7 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=06aa4be9-033a-494b-9616-53dfd119166e 2014-06-21 03:52:01,359 | INFO | JMX OSGi Agent | core | 74 - org.apache.aries.jmx.core - 1.1.1 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@588980b7 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=06aa4be9-033a-494b-9616-53dfd119166e 2014-06-21 03:52:01,360 | INFO | JMX OSGi Agent | core | 74 - org.apache.aries.jmx.core - 1.1.1 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@588980b7 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=06aa4be9-033a-494b-9616-53dfd119166e 2014-06-21 03:52:01,361 | INFO | JMX OSGi Agent | core | 74 - org.apache.aries.jmx.core - 1.1.1 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@588980b7 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=06aa4be9-033a-494b-9616-53dfd119166e 2014-06-21 03:52:01,377 | INFO | JMX OSGi Agent | core | 74 - org.apache.aries.jmx.core - 1.1.1 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@588980b7 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=06aa4be9-033a-494b-9616-53dfd119166e 2014-06-21 03:52:01,379 | INFO | JMX OSGi Agent | core | 74 - org.apache.aries.jmx.core - 1.1.1 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@588980b7 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=06aa4be9-033a-494b-9616-53dfd119166e
嗯,这是我的错。
我使用了start.sh脚本而不是karaf.sh.
start.sh使用带有服务器参数的karaf.sh。
我并没有像我想的那样完全按照安装说明去做
当我安装grunticon从终端窗口在Ubuntu 14.04它总是返回失败。 sudo npm缓存清理 sudo npm安装-g grunt grunticon 这是我的调试日志 11668信息安装目录-colorfy@2.0.5 11669 verbose即将构建/usr/local/lib/node_modules/grunt-gronticon/node_modules/gronticon
我突然在我的项目中遇到了这样的问题。重复了一遍,我的Chrome崩溃了: 因此,我降级了我的一些包,我把我的npm降级到6.6.0,这对我的项目来说是稳定的。主要的问题是从那以后开始的。我删除了node_modules文件夹,当我尝试时[因为显示权限问题],它开始显示以下错误: npm信息如果它以ok结束,则它可以工作npm谓词cli['/usr/bin/node',npm谓词cli'/data/
我安装了JDK(我需要用IzPack编译),现在正在尝试找出哪个路径是我的JAVA_HOME变量的正确路径。 在/usr/lib/jvm中,我有以下内容: java-1.6.0-openjdk-amd64 java-6-openjdk-common java-6-openjdk-amd64 java-7-openjdk-amd64 null
对于ubuntu 18.04上的java安装,我在开始时发出了以下命令: 对于java jre安装后,我键入 它显示 因此未安装,但如果我们再次键入: 它显示: 我不明白为什么 如何做? RMQ: JDK(java编译器)它安装完美我做了: 之后 它显示正常的编译器版本 如果可能的话,你能帮我吗
先下载该系列教程:http://pan.baidu.com/s/1gdw7CuJ 找到如图箭头目录上的两个视频,并看完,你对 Ubuntu 的安装就有了一个大概的了解,视频中 Ubuntu 虽然版本较早 13.04 的, 但是没关系,对于 Ubuntu 来讲新旧版本安装基本都一样的,所以别担心,驱动的问题也别担心,我们不是要在 Ubuntu 打游戏的,所以常见驱动系统是已经帮我们集成的不会影响使用
默认-JRE GCJ-4.6-JRE-无头 openjdk-6-jre-headless GCJ-4.5-JRE-无头 openjdk-7-jre-headless try:sudo apt-get install 我试过通过webupd8安装,还是同样的问题。请帮帮忙。 谢谢你提供的帮助。但我仍处于困境。 另外,我将在下面介绍所安装的java版本。~/softwares$sudoupdate-a